Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mjones129 authored Aug 5, 2024
1 parent dcedd9d commit d44c0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
# Sync files to droplet
- name: Sync files
run: |
scp -r -o StrictHostKeyChecking=no ./* ${{ secrets.USER }}@157.230.14.100:/var/www/html/wp-content/themes/block-test
scp -r -o StrictHostKeyChecking=no ./* ${{ secrets.USER }}@${{ secrets.DROPLET_IP }}:/var/www/html/wp-content/themes/block-test
- name: Set permissions
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.USER }}@157.230.14.100 "sudo chown -R www-data:www-data /var/www/html/wp-content/themes/block-test/"
ssh -o StrictHostKeyChecking=no ${{ secrets.USER }}@{{ secrets.DROPLET_IP }} "sudo chown -R www-data:www-data /var/www/html/wp-content/themes/block-test/"

0 comments on commit d44c0d1

Please sign in to comment.