This commit is contained in:
parent
075e616237
commit
68a60be674
|
@ -10,4 +10,7 @@ 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: mkdir $HOME/.ssh
|
||||
- run: echo "${{ secrets.KEY }}" > $HOME/.ssh/id_ed25519
|
||||
- run: chmod 0600 $HOME/.ssh/id_ed25519
|
||||
- run: scp -o "StrictHostKeyChecking=no" -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/
|
||||
|
|
Loading…
Reference in a new issue