Skip to content

Merge pull request #4 from boris1993/dependabot/npm_and_yarn/semver-7… #15

Merge pull request #4 from boris1993/dependabot/npm_and_yarn/semver-7…

Merge pull request #4 from boris1993/dependabot/npm_and_yarn/semver-7… #15

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 }}