kopia lustrzana https://github.com/cloudflare/wildebeest
deploy: fix wrangler configuration
rodzic
a1ac5f5a77
commit
bee2cf9ba8
|
@ -40,12 +40,7 @@ jobs:
|
|||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
preCommands: |
|
||||
echo "*** pre commands ***"
|
||||
cat <<EOT >> wrangler.toml
|
||||
[[d1_databases]]
|
||||
binding = "DATABASE"
|
||||
database_name = "wildebeest-${{ github.actor }}"
|
||||
database_id = "${{ env.d1_id }}"
|
||||
EOT
|
||||
echo "[[d1_databases]]\nbinding=\"DATABASE\"\ndatabase_name=\"wildebeest-${{ github.actor }}\"\ndatabase_id=\"${{ env.d1_id }}\"" >> wrangler.toml
|
||||
echo "******"
|
||||
env:
|
||||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
|
||||
|
|
Ładowanie…
Reference in New Issue