This commit is contained in:
parent
0daae42f48
commit
9f4331c69a
1 changed files with 7 additions and 4 deletions
|
@ -23,9 +23,12 @@ jobs:
|
||||||
mv hugo /usr/local/bin
|
mv hugo /usr/local/bin
|
||||||
- name: Build
|
- name: Build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
- name: Create Key File
|
- name: Create key file
|
||||||
run: install -m 600 -D /dev/null ~/.ssh/id_edsa
|
run: install -m 600 -D /dev/null ~/.ssh/id
|
||||||
- name: Populate Key
|
- 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
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue