From 8210bb6de41046701b360478c7d7b7a4e0705c72 Mon Sep 17 00:00:00 2001 From: Adishwar Rishi <adiswa123@gmail.com> Date: Sat, 23 Sep 2023 22:41:13 +1000 Subject: [PATCH] Fix bug where the deployment action was not setting TURBO_TOKEN as a worker secret (#98) --- .github/workflows/deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 167d71b..e60910f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,8 @@ jobs: - run: yarn install - name: Deploy uses: cloudflare/wrangler-action@v3 + env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} with: accountId: ${{ secrets.CF_ACCOUNT_ID }} apiToken: ${{ secrets.CF_API_TOKEN }} @@ -26,4 +28,6 @@ jobs: echo "*** post commands ***" wrangler r2 bucket create turborepo-cache || true echo "******" + secrets: | + TURBO_TOKEN command: 'deploy'