Skip to content

fix: restore countdown/waitlist page #9

fix: restore countdown/waitlist page

fix: restore countdown/waitlist page #9

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
deploy-worker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: cd worker && npm install
- run: cd worker && npx wrangler deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
deploy-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: cd site && npm install
- run: cd site && npm run build
- run: npx wrangler pages deploy site/dist --project-name daimon-network
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}