fix: ci step misconfiguration
This commit is contained in:
parent
73c614f4c2
commit
c39feb5c9a
|
@ -20,9 +20,6 @@ jobs:
|
|||
extended: true
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
- name: Add known host
|
||||
run:
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
@ -42,6 +39,9 @@ jobs:
|
|||
uses: https://github.com/webfactory/ssh-agent@v0.7.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
- name: Add known host
|
||||
run:
|
||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts
|
||||
- name: Publish to remote
|
||||
run: |
|
||||
apt update && apt install rsync -y
|
||||
|
|
Loading…
Reference in a new issue