Added deploy step
Some checks failed
Build & Deploy / build-or-sth (push) Failing after 32s

This commit is contained in:
Emin Arslan 2024-11-16 15:49:34 +03:00
parent 465697384a
commit 3297ce3d02

View File

@ -19,3 +19,8 @@ jobs:
- run: ls -la - run: ls -la
- name: build - name: build
run: ./hugo run: ./hugo
- name: deploy
run: |
echo "${{ secrets.SSH_KEY }}" > /tmp/id
chmod 600 /tmp/id
scp -oUser=${{secrets.SSH_USER}} -i /tmp/id -r public/* emin.software:/home/${{ secrets.SSH_USER }}/web/web/