Skip to content

Commit 37e8158

Browse files
git commit -m 'testing workflow redeployment'
1 parent 1d9d32d commit 37e8158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/autodeploy.yml

Lines changed: 2 additions & 2 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
5+
branches: ms/Scrun-130-Project-Deployment-dockerfiles #change this to main later
66

77
jobs:
88
test:
@@ -40,7 +40,7 @@ jobs:
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; }
4242
git pull origin ms/Scrun-130-Project-Deployment-dockerfiles
43-
cd course-matrix
43+
cd course-matrix #change this to main later
4444
docker compose build
4545
docker compose up -d --remove-orphans
4646
EOF

0 commit comments

Comments
 (0)