Skip to content

Commit

Permalink
Update cloudflare/wrangler-action action to v3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Oct 2, 2024
1 parent 6d1c73a commit ccf4eab
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: hashicorp/setup-terraform@v3

- name: Retrieve Terraform State
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
with:
command: --version
preCommands: npx wrangler kv:namespace list | jq -r '.[] | select( .title == "dispoflare-terraform-state" ) | .id' | awk '{print "tfstate_kv="$1}' >> $GITHUB_ENV
Expand All @@ -29,7 +29,7 @@ jobs:
working-directory: ./.terraform

- name: Download Terraform State
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
with:
command: --version
preCommands: npx wrangler kv:key get --namespace-id=${{ env.tfstate_kv }} terraform.tfstate > ./.terraform/terraform.tfstate
Expand All @@ -47,7 +47,7 @@ jobs:
TF_VAR_sentry_dsn: ${{ secrets.SENTRY_DSN || '' }}

- name: Init Terraform State
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
if: ${{ env.tfstate_kv == '' }}
with:
command: --version
Expand All @@ -56,7 +56,7 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

- name: Store Terraform State
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
with:
command: kv:key put --namespace-id=${{ env.tfstate_kv }} terraform.tfstate --path=./.terraform/terraform.tfstate
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand All @@ -83,7 +83,7 @@ jobs:
run: npm run build

- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand All @@ -100,7 +100,7 @@ jobs:
fi
- name: Setup Sentry
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
if: ${{ steps.sentry-check.outputs.sentry == 'true' }}
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand All @@ -112,7 +112,7 @@ jobs:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

- name: Publish to Cloudflare Workers
uses: cloudflare/wrangler-action@v3.7.0
uses: cloudflare/wrangler-action@v3.8.0
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand Down

0 comments on commit ccf4eab

Please sign in to comment.