diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index aaa479c..9608f0d 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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 }}." \ No newline at end of file diff --git a/src/app_deploy/deploy-app.sh b/src/app_deploy/deploy-app.sh index 83ff1af..a7ff2d3 100644 --- a/src/app_deploy/deploy-app.sh +++ b/src/app_deploy/deploy-app.sh @@ -1,2 +1,3 @@ ansible-playbook deploy-docker-images.yml -i inventory.yml -ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml \ No newline at end of file +ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml +echo "updated app deployment" \ No newline at end of file diff --git a/src/frontend/src/App.jsx b/src/frontend/src/App.jsx index 6ca4dbb..10201f9 100644 --- a/src/frontend/src/App.jsx +++ b/src/frontend/src/App.jsx @@ -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