Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cloudflare/wrangler-action action to v3.8.0 #547

Merged
merged 1 commit into from
Oct 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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