Try writing wrangler config from env variable

This commit is contained in:
Sam Carlton 2022-02-03 19:53:48 -06:00
parent 34ccc4b587
commit 2b11ca94a8

View file

@ -11,8 +11,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Deploy name: Deploy
steps: steps:
- uses: actions/checkout@master - name: print secrets
- name: Publish run: |
echo "$WRANGLER_TOML" >> doesitarm-default/wrangler.toml
cat doesitarm-default/wrangler.toml
- uses: actions/checkout@master
- name: Publish
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 }}