We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37e8158 commit 15e0568Copy full SHA for 15e0568
.github/workflows/autodeploy.yml
@@ -2,7 +2,7 @@ name: CI/CD Pipeline
2
3
on:
4
push:
5
- branches: ms/Scrun-130-Project-Deployment-dockerfiles #change this to main later
+ branches: develop
6
7
jobs:
8
test:
@@ -39,8 +39,8 @@ jobs:
39
run: |
40
ssh -i private_key -o StrictHostKeyChecking=no ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_VM_IP }} << 'EOF'
41
cd /home/masahisasekita/term-group-project-c01w25-project-course-matrix || { echo "Error: Directory /root/myapp does not exist!"; exit 1; }
42
- git pull origin ms/Scrun-130-Project-Deployment-dockerfiles
43
- cd course-matrix #change this to main later
+ git pull develop
+ cd course-matrix
44
docker compose build
45
docker compose up -d --remove-orphans
46
EOF
0 commit comments