Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ngullotta authored Nov 26, 2023
1 parent 1946ae9 commit e423d4b
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 @@ -13,8 +13,8 @@ jobs:
run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa
echo "${{ secrets.SSH_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H -T 60 ouroboros.audio > ~/.ssh/known_hosts
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
- name: Fetch
run: ssh nik@$ouroboros.audio "sudo su && cd $HOME/compositions/traefik/www/ouroboros.audio/html/ && git checkout main && git pull && exit"
run: ssh nik@${{ secrets.SSH_HOST }} "sudo su && cd $HOME/compositions/traefik/www/ouroboros.audio/html/ && git checkout main && git pull && exit"
- name: Cleanup
run: rm -rf ~/.ssh

0 comments on commit e423d4b

Please sign in to comment.