Actualiser .gitea/workflows/build.yaml
Some checks failed
Production / deploy (push) Failing after 2s

This commit is contained in:
Mathieu Broillet 2023-07-03 14:23:11 +00:00
parent 52447ae22c
commit b616bd0a6e

View File

@ -33,7 +33,7 @@ jobs:
ls -al public/
- name: Copy (scp) staging build to blog server
uses: https://github.com/appleboy/scp-action@v0.1.4
uses: nicklasfrahm/scp-action@main
with:
host: ${{ secrets.SSH_HOSTNAME }}
username: root
@ -41,8 +41,6 @@ jobs:
key: ${{ secrets.SSH_KEY }}
source: 'public/*'
target: '/var/www/html/staging'
rm: true
strip_components: 1
- name: Build production
run: hugo --gc --minify -b https://blog.broillet.ch/