Skip to content

build(deps): bump miniflare and wrangler (#10) #19

build(deps): bump miniflare and wrangler (#10)

build(deps): bump miniflare and wrangler (#10) #19

name: Deploy to CloudFlare
on:
workflow_dispatch:
push:
branches: ["master"]
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- run: "sed -i 's/{KV_SHORT_URL_BINDING_ID}/${{ secrets.KV_SHORT_URL_BINDING_ID }}/g' wrangler.toml"
- run: "sed -i 's/{KV_SHORT_URL_MAPPING_BINDING_ID}/${{ secrets.KV_SHORT_URL_MAPPING_BINDING_ID }}/g' wrangler.toml"
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}