Skip to content

Commit

Permalink
add run
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtong76 committed Nov 9, 2024
1 parent 41df848 commit 9c128cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/simple-web-ec2-single-tough.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ jobs:
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.AWS_USER }}@${{ secrets.AWS_HOST }} "ls -al /home/${{ secrets.AWS_USER }}"
- name: 4.파일 서버로 복사
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.AWS_USER }}@${{ secrets.AWS_HOST }} "sudo chown -R ec2-user:ec2-user /usr/share/nginx/html"
scp -o StrictHostKeyChecking=no -r ./* ${{ secrets.AWS_USER }}@${{ secrets.AWS_HOST }}:/usr/share/nginx/html

0 comments on commit 9c128cf

Please sign in to comment.