diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 28128cb..f3bd202 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,12 +40,7 @@ jobs: apiToken: ${{ secrets.CF_API_TOKEN }} preCommands: | echo "*** pre commands ***" - cat <> 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 }}