Skip to content

Commit

Permalink
Update publish_docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
noc0lour authored Feb 4, 2024
1 parent 91b9934 commit f54fe58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
mkdir $HOME/.ssh
echo -n "${{ secrets.SSH_KNOWN_HOST }}" > $HOME/.ssh/known_hosts
- name: Upload via SSH
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: 'tar -cz build/html/ | ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_SERVER }} "mkdir -p /www/$(date +%Y.%m.%d); cd /www/$(date +%Y.%m.%d); tar --strip-components=1 -xz; rm /www/live; cd /www; ln -sf $(date +%Y.%m.%d) live;"'
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f54fe58

Please sign in to comment.