Skip to content

chore(docker): add usage docs btw #24

chore(docker): add usage docs btw

chore(docker): add usage docs btw #24

Workflow file for this run

name: Deployments

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

(Line: 26, Col: 3): The workflow must contain at least one job with no dependencies.
on:
push:
branches: ["*"]
paths:
- config/caddy/*
- scripts/*
- .github/workflows/deploy.yml
workflow_dispatch:
permissions:
id-token: write # This is required for the tailscale action to request a JWT from GitHub
contents: read
jobs:
#proxypartylab-prod-railwayapp:
# name: Production Caddy server on railway.app
# runs-on: ubuntu-latest
# environment:
# name: production
# url: https://proxypartylab.up.railway.app
# steps:
# - uses: actions/checkout@v4
# - run: echo TODO
production-azure:
name: Production - Dedicated Caddy server on Azure VM
needs: [docker-builds]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
environment:
name: production
url: https://proxyparty.recaptime.dev
steps:
- uses: actions/checkout@v6
- name: Setup Tailscale (using OIDC workload federation)
uses: tailscale/github-action@v4
with:
oauth-client-id: TysnXTahJ911CNTRL-knEDkFDtWs11CNTRL
audience: api.tailscale.com/TysnXTahJ911CNTRL-knEDkFDtWs11CNTRL
tags: tag:ci
- name: Deploy updates to server
run: |
ssh caddy@proxyparty-caddy-production.tuna-skate.ts.net "/var/lib/caddy/src/scripts/deploy-updates"