Skip to content

Commit 15e0568

Browse files
git checkout -m 'CI/CD on develop'
1 parent 37e8158 commit 15e0568

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/autodeploy.yml

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

33
on:
44
push:
5-
branches: ms/Scrun-130-Project-Deployment-dockerfiles #change this to main later
5+
branches: develop
66

77
jobs:
88
test:
@@ -39,8 +39,8 @@ jobs:
3939
run: |
4040
ssh -i private_key -o StrictHostKeyChecking=no ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_VM_IP }} << 'EOF'
4141
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
42+
git pull develop
43+
cd course-matrix
4444
docker compose build
4545
docker compose up -d --remove-orphans
4646
EOF

0 commit comments

Comments
 (0)