Skip to content

fix: Reality via subscription URL + CDN/XHTTP as extra VLESS URIs #54

fix: Reality via subscription URL + CDN/XHTTP as extra VLESS URIs

fix: Reality via subscription URL + CDN/XHTTP as extra VLESS URIs #54

Workflow file for this run

name: Deploy Webapp
on:
push:
branches: [main]
paths:
- 'webapp/**'
workflow_dispatch:
jobs:
deploy:
name: Deploy to Cloudflare Pages
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: webapp/package-lock.json
- name: Install dependencies
working-directory: webapp
run: npm ci --legacy-peer-deps
- name: Install Playwright Chromium
working-directory: webapp
run: npx playwright install --with-deps chromium
- name: Run synthetic E2E
working-directory: webapp
run: npm run test:e2e
- name: Build
working-directory: webapp
env:
VITE_API_URL: ${{ secrets.VITE_API_URL }}
run: npm run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy webapp/dist --project-name=proxycraft-webapp