Skip to content

Commit bea6b9c

Browse files
git commit -m 'made sure it updates only on develop'
1 parent 66133d7 commit bea6b9c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/autodeploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: CI/CD Pipeline
22

33
on:
44
push:
5-
branches: ms/Scrun-130-Project-Deployment-dockerfiles
6-
5+
branches: develop
76
jobs:
87
test:
98
runs-on: ubuntu-latest
@@ -39,7 +38,7 @@ jobs:
3938
run: |
4039
ssh -i private_key -o StrictHostKeyChecking=no ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_VM_IP }} << 'EOF'
4140
cd /home/masahisasekita/term-group-project-c01w25-project-course-matrix || { echo "Error: Directory /root/myapp does not exist!"; exit 1; }
42-
git pull ms/Scrun-130-Project-Deployment-dockerfiles
41+
git pull develop
4342
cd course-matrix
4443
4544
# Update frontend .env

0 commit comments

Comments
 (0)