Update .forgejo/workflows/deploy-hot.yml
This commit is contained in:
parent
d802907dac
commit
6d9b899ae4
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
strudel@matrix.toplap.org:/home/strudel/deploy/pr-${{ github.event.pull_request.number }}.hot.strudel.cc
|
||||
Loading…
Add table
Add a link
Reference in a new issue