Skip to content

build(deps-dev): bump vite from 4.5.5 to 4.5.9 (#38) #49

build(deps-dev): bump vite from 4.5.5 to 4.5.9 (#38)

build(deps-dev): bump vite from 4.5.5 to 4.5.9 (#38) #49

name: Deploy to CloudFlare
on:
workflow_dispatch:
push:
branches: ["master"]
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- 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/wrangler-action@v3.13.1
with:
apiToken: ${{ secrets.CF_API_TOKEN }}