mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add reference and better name
This commit is contained in:
parent
ff5f39ae18
commit
72e4420449
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
name: Deploy to Cloudflare Workers with Wrangler
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
@ -14,9 +16,11 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Write Wrangler config
|
- name: Write Wrangler config
|
||||||
run: |
|
run: |
|
||||||
|
echo ${{ secrets.WRANGLER_ENV }} | base64 -d > doesitarm-default/.env
|
||||||
|
cat doesitarm-default/.env
|
||||||
echo ${{ secrets.WRANGLER_TOML }} | base64 -d > doesitarm-default/wrangler.toml
|
echo ${{ secrets.WRANGLER_TOML }} | base64 -d > doesitarm-default/wrangler.toml
|
||||||
cat doesitarm-default/wrangler.toml
|
cat doesitarm-default/wrangler.toml
|
||||||
- name: Publish
|
- name: Deploy Worker
|
||||||
uses: cloudflare/wrangler-action@1.3.0
|
uses: cloudflare/wrangler-action@1.3.0
|
||||||
with:
|
with:
|
||||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue