Skip to content

Commit

Permalink
Update hugo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vschaefer authored Oct 24, 2024
1 parent 0b73b99 commit db23a7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@ jobs:
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.PRIVATE_SSH_KEY }}
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
- name: Adding Known Hosts
run: ssh-keyscan -p ${{ secrets.SSH_PORT }} -H ${{ secrets.HOST }} >> ~/.ssh/known_hosts
- name: Deploy with rsync
env:
SSHPASS: ${{ secrets.SSH_PASSWORD }} # Setze das Passwort hier
Expand Down

0 comments on commit db23a7d

Please sign in to comment.