diff --git a/.forgejo/workflows/deploy-hot.yml b/.forgejo/workflows/deploy-hot.yml index 5047a667..737de1ec 100644 --- a/.forgejo/workflows/deploy-hot.yml +++ b/.forgejo/workflows/deploy-hot.yml @@ -13,8 +13,6 @@ jobs: build: if: ${{ github.event.label.name == 'serve-hot' }} runs-on: docker - env: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v4 @@ -31,6 +29,8 @@ jobs: run: pnpm build - name: Deploy + env: + SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} run: | eval $(ssh-agent -s) echo "$SSH_PRIVATE_KEY" | ssh-add - @@ -39,4 +39,4 @@ jobs: ssh-keyscan matrix.toplap.org > ~/.ssh/known_hosts rsync -atv --delete --delete-after --progress \ ./website/dist/ \ - strudel@matrix.toplap.org:/home/strudel.cc/deploy/pr-${{ github.event.pull_request.number }}.strudel.cc \ No newline at end of file + strudel@matrix.toplap.org:/home/strudel/deploy/pr-${{ github.event.pull_request.number }}.hot.strudel.cc \ No newline at end of file