doesitarm/.github/workflows/deploy-cloudflare-workers.yml
Workflow config file is invalid. Please check your config file: yaml: line 20: mapping values are not allowed in this context
2022-02-03 19:53:48 -06:00

23 lines
529 B
YAML

name: Deploy to Cloudflare Workers with Wrangler
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- name: print secrets
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
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
workingDirectory: 'doesitarm-default'