Skip to content

Fix deploy

Fix deploy #16

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
preCommands: npm install && sed 's/example\.com/${{ secrets.DOMAIN }}/g' wrangler-example.toml > wrangler.toml
command: deploy