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 a0dd435 commit d6a56b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ jobs:
-e USE_GKE_GCLOUD_AUTH_PLUGIN=True \
-e GCP_PROJECT=ac215project-398401 \
-e GCP_ZONE=us-west3-b \
app_deployment
docker exec -it app_deployment sh deploy-app.sh
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
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
echo "Updating deployment"
ansible-playbook deploy-docker-images.yml -i inventory.yml
ansible-playbook update-k8s-cluster.yml -i inventory-prod.yml
echo "updated app deployment"
echo "Complete updating"

0 comments on commit d6a56b7

Please sign in to comment.