diff options
| author | Frank <[email protected]> | 2026-02-01 21:39:24 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-01 21:39:24 -0500 |
| commit | 8fbba8de73461b82dfa72c870b8686c9e177ead5 (patch) | |
| tree | db0d7966e5fc9813b024dfebaa84d67d73ca78a6 | |
| parent | 826664b559c3d42f60c8f48fa5dddce997cc0cf0 (diff) | |
| download | opencode-8fbba8de73461b82dfa72c870b8686c9e177ead5.tar.gz opencode-8fbba8de73461b82dfa72c870b8686c9e177ead5.zip | |
ci: Fix Pulumi version conflict in deploy workflow
Added a workaround to fix Pulumi version conflict in the deployment workflow.
| -rw-r--r-- | .github/workflows/deploy.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 25466a63e..c08d7edf3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,6 +21,15 @@ jobs: with: node-version: "24" + # Workaround for Pulumi version conflict: + # GitHub runners have Pulumi 3.212.0+ pre-installed, which removed the -root flag + # from pulumi-language-nodejs (see https://github.com/pulumi/pulumi/pull/21065). + # SST 3.17.x uses Pulumi SDK 3.210.0 which still passes -root, causing a conflict. + # Removing the system language plugin forces SST to use its bundled compatible version. + # TODO: Remove when sst supports Pulumi >3.210.0 + - name: Fix Pulumi version conflict + run: sudo rm -f /usr/local/bin/pulumi-language-nodejs + - run: bun sst deploy --stage=${{ github.ref_name }} env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} |
