Add one-off pulumi refresh step to fix out-of-sync Cloudflare state

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Soria Parra 2026-02-17 22:31:00 +00:00
commit 6702995f79
No known key found for this signature in database
2 changed files with 10 additions and 2 deletions

View file

@ -48,6 +48,14 @@ jobs:
with: with:
credentials_json: ${{ secrets.GCP_PROD_SERVICE_ACCOUNT_KEY }} credentials_json: ${{ secrets.GCP_PROD_SERVICE_ACCOUNT_KEY }}
- name: Refresh Pulumi state (one-off fix for out-of-sync state)
env:
PULUMI_PASSPHRASE: ${{ secrets.PULUMI_PROD_PASSPHRASE }}
run: |
echo "$PULUMI_PASSPHRASE" > passphrase.prod.txt
pulumi login gs://mcp-dns-prod-pulumi-state
PULUMI_CONFIG_PASSPHRASE_FILE=passphrase.prod.txt pulumi refresh --yes --stack prod
- name: Deploy to Production - name: Deploy to Production
env: env:
PULUMI_PASSPHRASE: ${{ secrets.PULUMI_PROD_PASSPHRASE }} PULUMI_PASSPHRASE: ${{ secrets.PULUMI_PROD_PASSPHRASE }}

View file

@ -10,8 +10,8 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pulumi/cloudflare": "^6.12.0", "@pulumi/cloudflare": "^6.13.0",
"@pulumi/pulumi": "^3.214.1" "@pulumi/pulumi": "^3.218.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.18.6", "@types/node": "^22.18.6",