Skip to content

Commit

Permalink
chore : CD update
Browse files Browse the repository at this point in the history
  • Loading branch information
Whale0928 committed Nov 26, 2023
1 parent 226d336 commit 81e5037
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ jobs:
remote_key: ${{ secrets.AWS_GENERAL_SSH_KEY }}

- name: Copy .env to remote server
run: scp .env ubuntu@${{ secrets.APP_SERVER_IP }}:/home/ubuntu/app/petlink/
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.APP_SERVER_IP }}
username: ubuntu
key: ${{ secrets.AWS_GENERAL_SSH_KEY }}
script: scp .env ubuntu@${{ secrets.APP_SERVER_IP }}:/home/ubuntu/app/petlink/



0 comments on commit 81e5037

Please sign in to comment.