Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
jaytaph committed Oct 6, 2023
1 parent 1b0bfc9 commit f5ece99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ jobs:
- name: SSH setup
run: |
mkdir -p ~/.ssh
echo "$SSH_DEPLOY_KEY" > ~/.ssh/priv.key
chmod 600 ~/.ssh/priv.key
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
env:
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
SSH_DEPLOY_KEY: ${{secrets.SSH_DEPLOY_KEY}}
- name: Rsync
run: rsync -avz build/ deploy@developer.gosub.io:/wwwroot/gosub.io/

0 comments on commit f5ece99

Please sign in to comment.