diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index e1e7f7f..a286c0b 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -10,6 +10,7 @@ jobs: - run: apk add openssh - run: mkdir .ssh - run: echo "${{ secrets.KEY }}" > .ssh/id_ed25519 + - run: chmod go-r .ssh/id_ed25519 - run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src - run: hugo -s src - - run: scp -o "Port 24" -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/ + - run: scp -P 24 -o "IdentityFile=.ssh/id_ed25519" -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/