diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index 42a78ef..54a3ac7 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -19,5 +19,7 @@ jobs: env: NODE_ENV: production OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }} - - \ No newline at end of file + - name: Create ssh key + run: mkdir ~/.ssh && echo "${{ secrets.SSH_KEY }}" >> ~/.ssh/id_rsa + - name: Copy _site to prod + run: scp -rp _site/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/html \ No newline at end of file