Skip to content

Commit

Permalink
Create cf.yaml (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanThatOneKid authored Sep 5, 2023
1 parent a8b956b commit b08b4a9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/cf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: cf push

on:
push:
branches: [main]

jobs:
push:
runs-on: ubuntu-latest

strategy:
matrix:
deno-version: [canary]

steps:
- uses: actions/checkout@v3

- uses: denoland/setup-deno@v1
with:
deno-version: ${{ matrix.deno-version }}

- name: Push to Cloudflare
run: deno task cf:push
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}

0 comments on commit b08b4a9

Please sign in to comment.