diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml index 7d3b60a..406bce7 100644 --- a/.forgejo/workflows/push.yaml +++ b/.forgejo/workflows/push.yaml @@ -23,10 +23,7 @@ jobs: ref_name: ${{ gitea.ref_name }} # temp one just to get it "built" - shell: bash - run: ls -lah - - shell: bash - run: echo "${{ secrets.KEY }}" > tmp.key - - shell: bash - run: ls -lah - - shell: bash - run: scp -v -i tmp.key -r build ${{ secrets.USERNAME }}@skynet.skynet.ie:/home/${{ secrets.USERNAME }}/public_html/ \ No newline at end of file + run: | + echo "${{ secrets.KEY }}" > tmp.key + chmod 600 tmp.key + scp -v -i tmp.key -r build ${{ secrets.USERNAME }}@skynet.skynet.ie:/home/${{ secrets.USERNAME }}/public_html/ \ No newline at end of file