Skip to content

Commit

Permalink
Update staging.yml
Browse files Browse the repository at this point in the history
pull staging branch
  • Loading branch information
Rob-in-son authored Aug 9, 2024
1 parent de40e9a commit 076de18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: Deploy and start on remote server
run: |
sshpass -p ${{ secrets.PASSWORD }} ssh -o StrictHostKeyChecking=no ${{ secrets.USERNAME }}@${{ secrets.HOST }} "
cd /var/www/aihomework/dev
cd /var/www/aihomework/staging
git stash
git pull origin dev
git pull origin staging
docker load -i /tmp/docker-images.tar.gz
docker compose -f docker-compose.staging.yml down
docker compose -f docker-compose.staging.yml up -d
Expand Down

0 comments on commit 076de18

Please sign in to comment.