Skip to content

ci: add deploy workflow #1

ci: add deploy workflow

ci: add deploy workflow #1

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: Cloudflare Workers
url: ${{ steps.deploy.outputs.deployment-url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}