diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 7fdb985..604d5a9 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -22,12 +22,15 @@ jobs: - name: Render website run: | zig build run - - - name: Deploy with SCP - uses: noobly314/deploy-with-scp@v1 + + - name: Deploy + uses: easingthemes/ssh-deploy@main with: - src: website/* - dest: usermap/ - username: generic-ci - server-ip: random-projects.net - ssh-key: ${{ secrets.WEBSITE_PRIVATE_KEY }} + SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }} + ARGS: "-vzrli" + SOURCE: "website/" + REMOTE_HOST: ${{ secrets.DEPLOY_HOST }} + REMOTE_USER: ${{ secrets.DEPLOY_USER }} + REMOTE_PORT: ${{ secrets.DEPLOY_PORT }} + TARGET: "." +