Made deployment action more readable
Some checks failed
/ build (push) Failing after 20s

This commit is contained in:
vanten-s 2024-08-05 00:11:08 +02:00
parent 075e616237
commit a6a1e75817
Signed by: vanten-s
GPG key ID: DE3060396884D3F2

View file

@ -10,4 +10,5 @@ jobs:
- run: apk add openssh
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src
- run: hugo -s src
- run: eval $(ssh-agent -s) && echo "${{ secrets.KEY }}" | ssh-add - && scp -o "StrictHostKeyChecking=no" -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/
- run: echo "${{ secrets.KEY }}" > $HOME/.ssh/id_ed25519
- run: scp -o "StrictHostKeyChecking=no" -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/