diff --git a/.gitea/workflows/main-build.yaml b/.gitea/workflows/main-build.yaml index 9594bf4..600567e 100644 --- a/.gitea/workflows/main-build.yaml +++ b/.gitea/workflows/main-build.yaml @@ -19,3 +19,8 @@ jobs: - run: ls -la - name: build 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/