Skip to content

Commit

Permalink
Merge pull request #38 from cleanwalk-org-asso/main
Browse files Browse the repository at this point in the history
fix workflow
  • Loading branch information
ArthurFrin authored Nov 13, 2024
2 parents 0b58aea + 26b16b5 commit 06dc693
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
env:
VPS_CONNECTION: ${{ secrets.VPS_CONNECTION }}
run: |
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null VPS_CONNECTION '
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$VPS_CONNECTION" '
rm -rf /home/cleanwalk/cleanwalk-backup &&
cp -r /home/cleanwalk/cleanwalk-org-v2 /home/cleanwalk/cleanwalk-backup
'
Expand All @@ -31,8 +31,8 @@ jobs:
env:
VPS_CONNECTION: ${{ secrets.VPS_CONNECTION }}
run: |
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null VPS_CONNECTION '
cd /home/cleanwalk-org-v2 &&
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$VPS_CONNECTION" '
cd /home/cleanwalk/cleanwalk-org-v2 &&
git pull origin release &&
docker compose -f docker-compose.prod.yml down &&
docker compose -f docker-compose.prod.yml up -d --build
Expand All @@ -43,7 +43,7 @@ jobs:
env:
VPS_CONNECTION: ${{ secrets.VPS_CONNECTION }}
run: |
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null VPS_CONNECTION '
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$VPS_CONNECTION" '
rm -rf /home/cleanwalk/cleanwalk-backup
'
Expand All @@ -52,7 +52,7 @@ jobs:
env:
VPS_CONNECTION: ${{ secrets.VPS_CONNECTION }}
run: |
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null VPS_CONNECTION '
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$VPS_CONNECTION" '
cd /home/cleanwalk/cleanwalk-backup &&
docker compose -f docker-compose.prod.yml up -d --build
'
'

0 comments on commit 06dc693

Please sign in to comment.