parent
ef8a43c390
commit
c44f8faefb
|
@ -10,7 +10,4 @@ jobs:
|
|||
- run: apk add openssh
|
||||
- run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src
|
||||
- run: hugo -s src
|
||||
- run: echo "${{ secrets.KEY }}"
|
||||
- run: mkdir .ssh
|
||||
- run: echo "[vanten-s.com]:24 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICt3Q5D/mAfHXa3nXvpSsoeQ+zFnZItwWl4T6g/Dw6xs" > .ssh/known_hosts
|
||||
- run: eval $(ssh-agent -s) && echo "${{ secrets.KEY }}" | ssh-add - && scp -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/
|
||||
- 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/
|
||||
|
|
Loading…
Reference in a new issue