Files
www/.gitea/workflows/deploy.yaml
Adam cadb761a5d
Deploy ${{ gitea.repository }} / deploy (push) Successful in 1s
Fix deploy to use restart.sh; update cluster link to mini.ajet.fyi
2026-04-19 23:20:46 -04:00

16 lines
413 B
YAML

name: Deploy ${{ gitea.repository }}
run-name: ${{ gitea.actor }} is deploying ${{ gitea.repository }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via Tailscale SSH
run: |
ssh -o StrictHostKeyChecking=accept-new -o BatchMode=yes \
root@100.106.10.22 \
'cd /root/repos/www && git pull && ./restart.sh'