Skip to content

Commit

Permalink
ci: deploy to linode
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablito2020 committed Oct 9, 2023
1 parent 7e9fd5a commit 6bc4aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- name: Copy files to Linode
run: |
scp -r ./*${{ secrets.USER }}@${{ secrets.LINODE_IP }}:${{ secrets.PATH_TO_SAVE }}
scp -r $(pwd)${{ secrets.USER }}@${{ secrets.LINODE_IP }}:${{ secrets.PATH_TO_SAVE }}
ssh ${{ secrets.USER }}@${{ secrets.LINODE_IP }} 'cd /home/ferran/refuapp && docker-compose pull && docker-compose up -d'

0 comments on commit 6bc4aaa

Please sign in to comment.