File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,17 @@ jobs:
2727 run : |
2828 pnpm install
2929 # install yq
30- VERSION=v4.2.0
30+ VERSION=v4.47.1
3131 BINARY=yq_linux_amd64
3232 wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
3333 tar xz && mv ${BINARY} /usr/local/bin/yq
3434
3535 - name : Deploy Production Version
3636 env :
3737 CLOUDFLARE_API_TOKEN : ${{ secrets.CLOUDFLARE_API_TOKEN }}
38- CLOUDFLARE_DATABASE_ID : ${{ secrets.CLOUDFLARE_DATABASE_ID }}
3938 run : |
4039 # build application
41- yq -i '.d1_databases[0].database_id = strenv( CLOUDFLARE_DATABASE_ID) ' wrangler.toml
40+ yq -i '.d1_databases[0].database_id = "${{ secrets. CLOUDFLARE_DATABASE_ID }}" ' wrangler.toml
4241 yq -i '.vars.MODE = "mixed"' wrangler.toml
4342 yq -i '.vars.PROVIDER_CLOUDFLARE_BUILTIN = false' wrangler.toml
4443 pnpm build:worker
You can’t perform that action at this time.
0 commit comments