Skip to content

Commit

Permalink
ci: fix error please
Browse files Browse the repository at this point in the history
  • Loading branch information
gogumalatte authored Nov 16, 2024
1 parent 399f8af commit cdff3a1
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 @@ -33,10 +33,10 @@ jobs:
ssh -o StrictHostKeyChecking=no jiho99322@${{ secrets.SERVER_IP }} "mkdir -p /var/www/html/dist"
- name: 📤 Copy Files to Server
run: |
run: |
ssh -o StrictHostKeyChecking=no jiho99322@${{ secrets.SERVER_IP }} "scp -r dist/* jiho99322@${{ secrets.SERVER_IP }}:/tmp/"
- name: ⚙ Move and Set Permissions for Files on Server
- name: Move Files to Target Directory and Set Permissions
run: |
ssh -o StrictHostKeyChecking=no jiho99322@${{ secrets.SERVER_IP }} "sudo mv /tmp/* /var/www/html/dist/ && sudo chmod -R 755 /var/www/html/dist"
Expand Down

0 comments on commit cdff3a1

Please sign in to comment.