Skip to content

Commit

Permalink
quick save
Browse files Browse the repository at this point in the history
  • Loading branch information
drveles committed Jun 8, 2024
1 parent 5f3e95b commit d9a0c7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- develop
- all-testing

env:
SERVER_HOST: ${{ secrets.DEPLOY_HOST_SERVER }}

jobs:

deploy:
Expand All @@ -22,7 +25,7 @@ jobs:
known_hosts: "just-a-placeholder-so-we-dont-get-errors"

- name: Generate auth hosts
run: ssh-keyscan -H ${{ secrets.DEPLOY_HOST_SERVER }} >> ~/.ssh/known_hosts
run: ssh-keyscan -H ${{ env.SERVER_HOST }} >> ~/.ssh/known_hosts

# Deploy
- run: rsync --archive --compress --progress . ${{ secrets.DEPLOY_SERVER_USER }}@${{ secrets.DEPLOY_HOST_SERVER }}://home/${{ secrets.DEPLOY_SERVER_USER }}/deploy_campus_bot

0 comments on commit d9a0c7f

Please sign in to comment.