Skip to content

qsv page

qsv page #119

name: Deploy to VPS via Tailscale
on:
push:
branches:
- main
jobs:
deploy-via-tailscale:
runs-on: ubuntu-latest
steps:
- name: Connect Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- name: Do the deploy thing
run: |
ssh -o "StrictHostKeyChecking no" ironicbadger@ktz-cloud "
cd ${{ secrets.VPS_PROJECT_PATH }}
git pull
docker-compose run pms-wiki build
"