Skip to content

Commit

Permalink
Restored env variables for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
raffazizzi authored Jul 10, 2024
1 parent c0988c7 commit 96d436d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ jobs:
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}

- name: Deploy to server
env:
SSH_USER: ${{ SSH_USER }}
SSH_HOST: ${{ SSH_HOST }}
SSH_REMOTE_PATH: ${{ SSH_REMOTE_PATH }}
run: |
rsync -avz --delete --quiet ./public/ [email protected]:/var/www/mith.umd.edu
rsync -avz --delete --quiet ./public/ $SSH_USER@$SSH_HOST:$SSH_REMOTE_PATH
- name: Clean up
run: |
Expand Down

0 comments on commit 96d436d

Please sign in to comment.