Add reference and better name

This commit is contained in:
Sam Carlton 2022-02-03 21:22:55 -06:00
parent ff5f39ae18
commit 72e4420449

View file

@ -1,3 +1,5 @@
# https://github.com/marketplace/actions/deploy-to-cloudflare-workers-with-wrangler
# https://github.com/cloudflare/wrangler-action
name: Deploy to Cloudflare Workers with Wrangler
on:
@ -14,9 +16,11 @@ jobs:
- uses: actions/checkout@master
- name: Write Wrangler config
run: |
echo ${{ secrets.WRANGLER_ENV }} | base64 -d > doesitarm-default/.env
cat doesitarm-default/.env
echo ${{ secrets.WRANGLER_TOML }} | base64 -d > doesitarm-default/wrangler.toml
cat doesitarm-default/wrangler.toml
- name: Publish
- name: Deploy Worker
uses: cloudflare/wrangler-action@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}