test: testing 6
All checks were successful
On_Push / build (push) Successful in 2s

Go back to basics
This commit is contained in:
silver 2024-09-22 21:41:07 +01:00
parent 3b13351906
commit b148ba10b1
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -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/"
- name: "Deploy"
shell: bash
run: |
echo ${{ $SSH_KEY }} > tmp.key
scp -i tmp.key -r build user@skynet.skynet.ie:~/public_html/