Skip to content

Commit

Permalink
added workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Toasty360 committed Nov 11, 2024
1 parent ebd7e57 commit ead16ab
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy to Cloudflare Worker

on:
push:
branches:
- main
pull_request:
branches:
- main
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
needs: build

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Wrangler CLI
uses: cloudflare/wrangler-action@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}

0 comments on commit ead16ab

Please sign in to comment.