diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml index e812df2..5c19c34 100644 --- a/.forgejo/workflows/push.yaml +++ b/.forgejo/workflows/push.yaml @@ -24,11 +24,8 @@ jobs: # temp one just to get it "built" - name: "Build it locally" run: ls -lah build - - name: copy file via ssh key - uses: https://forgejo.skynet.ie/Skynet/action-scp@v0.1.10 - with: - host: skynet.skynet.ie - username: ${{ secrets.USERNAME }} - key: ${{ secrets.KEY }} - source: "build/*" - target: "~/public_html/" \ No newline at end of file + - name: "Deploy" + shell: bash + run: | + echo ${{ $SSH_KEY }} > tmp.key + scp -i tmp.key -r build user@skynet.skynet.ie:~/public_html/ \ No newline at end of file