workflow testing
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m28s
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m28s
This commit is contained in:
parent
83f64611bf
commit
9d0fc5f800
@ -25,11 +25,11 @@ jobs:
|
||||
- name: Sending my key to file
|
||||
run: echo "${{ secrets.RUNNER_SSH_KEY }}" > ~/key
|
||||
|
||||
- name: Adding SIAB to known hosts
|
||||
run: echo "siab.henv.eu ${{ secrets.SIAB_FINGERPRINT }}" > ~/.ssh/known_hosts
|
||||
- name: Protecting keyfile
|
||||
run: chmod 600 ~/key
|
||||
|
||||
- name: Testing this
|
||||
run: cat ~/key
|
||||
- name: Adding siab to known hosts
|
||||
run: echo "siab.henv.eu ${{ secrets.SIAB_FINGERPRINT }}" > ~/.ssh/known_hosts
|
||||
|
||||
- name: Copy files over to webserver
|
||||
run: scp -v -i ~/key -r ${{ gitea.workspace }}/public/* gitea_runner@siab.henv.eu:/srv/nginx/webpage
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user