From b148ba10b1a471a890708ed431b7733503d37fb0 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 22 Sep 2024 21:41:07 +0100 Subject: [PATCH] test: testing 6 Go back to basics --- .forgejo/workflows/push.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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