• v1 cad13da3f1

    v1 Stable

    michael released this 2026-07-01 08:48:22 +00:00 | 0 commits to main since this release

    First stable release of the Deploy Static Site to Tailscale Node composite action.

    jobs:
      deploy:
        runs-on: ubuntu-latest                                 # A Debian/Ubuntu-based runner
        steps:
          - uses: https://github.com/actions/checkout@v4
    
          # ... build your site into ./public ...
          
          - name: Deploy
            uses: https://code.thms.uk/michael/tailscale-deploy@v1
            with:
              site: example.com                                # Site name; target becomes `/var/www/<site>`
              source-dir: public                               # Build step's output directory 
              deploy-host: 100.x.y.z                           # Target Tailscale IP address
              deploy-user: www-data                            # the user you use to SSH to the node
              ts-authkey: ${{ secrets.TS_AUTHKEY }}            # Headscale pre-auth key
              ts-login-server: https://headscale.example.org   # Headscale login server
    

    See the README for full details usage.