Skip to content

Commit

Permalink
Ah yes, indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
RJMurg authored Mar 29, 2024
1 parent a91b4e4 commit 642c2fa
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/deploy-to-vps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@ jobs:
EXPOSED_PORT: ${{ secrets.EXPOSED_PORT }}
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.USERNAME }}@${{ secrets.HOST }} << 'EOF'
cd /src/Website
touch .env
chmod 644 .env
echo "EXPOSED_PORT=\${EXPOSED_PORT}" > .env
git reset --hard HEAD
git pull origin master
docker compose up -d --build
cd /src/Website
git reset --hard HEAD
git pull origin master
touch .env
chmod 644 .env
echo "EXPOSED_PORT=\${EXPOSED_PORT}" > .env
docker compose up -d --build
EOF

0 comments on commit 642c2fa

Please sign in to comment.