Skip to content

Commit

Permalink
/run-deploy-app
Browse files Browse the repository at this point in the history
  • Loading branch information
Lliillyy committed Dec 11, 2023
1 parent 8d9eb1d commit a0dd435
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ jobs:
-e USE_GKE_GCLOUD_AUTH_PLUGIN=True \
-e GCP_PROJECT=ac215project-398401 \
-e GCP_ZONE=us-west3-b \
app_deployment sh deploy-app.sh
app_deployment
docker exec -it app_deployment sh deploy-app.sh
- run: echo "Job's status is ${{ job.status }}."
3 changes: 2 additions & 1 deletion src/app_deploy/deploy-app.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ansible-playbook deploy-docker-images.yml -i inventory.yml
ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml
ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml
echo "updated app deployment"
2 changes: 1 addition & 1 deletion src/frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
import "./App.css";
import { Configuration, OpenAIApi } from "openai";

const APP_VERSION = "1.2";
const APP_VERSION = "1.1";

// Reference: https://github.com/EBEREGIT/react-chatgpt-tutorial

Expand Down

0 comments on commit a0dd435

Please sign in to comment.