workflow testing
All checks were successful
Generate and upload hugo website / generate_and_uplaod_site (push) Successful in 1m28s

This commit is contained in:
Henry V Child 2025-02-16 17:55:25 +01:00
parent 83f64611bf
commit 9d0fc5f800

View File

@ -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