Skip to content

Commit

Permalink
Update cloudflare/wrangler-action action to v3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Aug 30, 2023
1 parent 5abf4dd commit 4b0134a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: hashicorp/setup-terraform@v2

- name: Retrieve Terraform State
uses: cloudflare/[email protected].0
uses: cloudflare/[email protected].1
with:
command: kv:namespace list > .kv_namespace_list.json
postCommands: jq -r '.[] | select( .title == "dispoflare-terraform-state" ) | .id' .kv_namespace_list.json | awk '{print "tfstate_kv="$1}' >> $GITHUB_ENV
Expand All @@ -26,7 +26,7 @@ jobs:
working-directory: ./.terraform

- name: Download Terraform State
uses: cloudflare/[email protected].0
uses: cloudflare/[email protected].1
with:
command: kv:key get --namespace-id=${{ env.tfstate_kv }} terraform.tfstate > ./.terraform/terraform.tfstate
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand All @@ -43,7 +43,7 @@ jobs:
TF_VAR_sentry_dsn: ${{ secrets.SENTRY_DSN }}

- name: Init Terraform State
uses: cloudflare/[email protected].0
uses: cloudflare/[email protected].1
if: ${{ env.tfstate_kv == '' }}
with:
command: kv:namespace list > .kv_namespace_list.json
Expand All @@ -52,7 +52,7 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

- name: Store Terraform State
uses: cloudflare/[email protected].0
uses: cloudflare/[email protected].1
with:
command: kv:key put --namespace-id=${{ env.tfstate_kv }} terraform.tfstate --path=./.terraform/terraform.tfstate
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
Expand All @@ -76,7 +76,7 @@ jobs:
run: npm ci

- name: Publish to Cloudflare Workers
uses: cloudflare/[email protected].0
uses: cloudflare/[email protected].1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand All @@ -93,7 +93,7 @@ jobs:
run: npm run build

- name: Publish to Cloudflare Pages
uses: cloudflare/[email protected].0
uses: cloudflare/[email protected].1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
Expand Down

0 comments on commit 4b0134a

Please sign in to comment.