Skip to content

Add auto-updater to all install channels and simplify dashboard #41

Add auto-updater to all install channels and simplify dashboard

Add auto-updater to all install channels and simplify dashboard #41

name: Deploy Website
on:
push:
branches: [main]
paths: ['web/**']
repository_dispatch:
types: [pilot-skills-updated]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
working-directory: web
- run: npm run build
working-directory: web
- run: npx wrangler pages deploy dist --project-name=pilotprotocol --branch=main
working-directory: web
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}