Skip to content

Commit

Permalink
ci: add linode config
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablito2020 committed Oct 9, 2023
1 parent dc96983 commit 59efc13
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ jobs:
source: ./*
target: "/home/ferran"

- name: Copy files to Linode
run: |
ssh ${{ secrets.USER }}@${{ secrets.LINODE_IP }} 'ls -la /home/ferran'
# ssh ${{ secrets.USER }}@${{ secrets.LINODE_IP }} 'cd /home/ferran/refuapp && docker-compose pull && docker-compose up -d'
- name: execute container
uses: appleboy/[email protected]
with:
host: 172.232.42.111
username: ferran
key: ${{ secrets.SS_PRIVATE_KEY }}
port: 22
script: |
docker-compose pull && docker-compose up -d

0 comments on commit 59efc13

Please sign in to comment.