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 d6a56b7 commit 4de5d83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ jobs:
-e GCP_PROJECT=ac215project-398401 \
-e GCP_ZONE=us-west3-b \
app_deployment sh deploy-app.sh
docker ps
docker exec app_deployment /bin/bash -c 'sh deploy-app.sh'
- run: echo "Job's status is ${{ job.status }}."
4 changes: 1 addition & 3 deletions src/app_deploy/deploy-app.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
echo "Updating deployment"
ansible-playbook deploy-docker-images.yml -i inventory.yml
ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml
echo "Complete updating"
ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml
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.1";
const APP_VERSION = "1.0";

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

Expand Down

0 comments on commit 4de5d83

Please sign in to comment.