diff --git a/.forgejo/workflows/hugo.yaml b/.forgejo/workflows/hugo.yaml index f351a12..35e6f19 100644 --- a/.forgejo/workflows/hugo.yaml +++ b/.forgejo/workflows/hugo.yaml @@ -23,9 +23,12 @@ jobs: mv hugo /usr/local/bin - name: Build run: hugo --minify - - name: Create Key File - run: install -m 600 -D /dev/null ~/.ssh/id_edsa + - name: Create key file + run: install -m 600 -D /dev/null ~/.ssh/id - name: Populate Key - run: echo "${{ secrets.SRV06_DEPLOY_WEBSITE_SSH_KEY }}" > ~/.ssh/id_edsa + run: echo "${{ secrets.SRV06_DEPLOY_WEBSITE_SSH_KEY }}" > ~/.ssh/id - name: Upload - run: rsync --archive --stats -e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' public/ forgejo_actions_websites@srv06.lefuturiste.fr:/warmd/mbess/websites/hugo-sandbox-02/public + run: | + rsync --archive --progress \ + --rsh='ssh -i ~/.ssh/id -o StrictHostKeyChecking=no' \ + public/ forgejo_actions_websites@srv06.lefuturiste.fr:/warmd/mbess/websites/hugo-sandbox-02/public