Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Merge pull request #8 from jianjianai/dev #27

Merge pull request #8 from jianjianai/dev

Merge pull request #8 from jianjianai/dev #27

Workflow file for this run

name: Cloudfalre Worker Deploy
on:
push:
branches:
- master
repository_dispatch:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4.1.5
- name: Deploy to Cloudflare Workers with Wrangler
uses: cloudflare/wrangler-action@v3.1.0
with:
# Your Cloudflare API Token
apiToken: ${{ secrets.CF_API_TOKEN }} # optional
# Your Cloudflare Account ID
accountId: ${{ secrets.CF_ACCOUNT_ID }} # optional
# The Wrangler command (along with any arguments) you wish to run. Multiple Wrangler commands can be run by separating each command with a newline. Defaults to `"deploy"`.
command: deploy # optional