diff --git a/.gitea/workflows/infrastructure-deploy.yml b/.gitea/workflows/infrastructure-deploy.yml index 44f8dc3..3e8e2ed 100644 --- a/.gitea/workflows/infrastructure-deploy.yml +++ b/.gitea/workflows/infrastructure-deploy.yml @@ -20,17 +20,15 @@ jobs: pulumi-up: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v4 - - # Stack name assumes the runner is logged into the same Pulumi Cloud - # org as `pulumi.yaml`'s default; if PULUMI_ACCESS_TOKEN's org differs, - # qualify this as "/main" instead. - - name: Pulumi up - uses: pulumi/actions@v6 - with: - command: preview - stack-name: main - work-dir: infrastructure - env: - PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} + - name: Send Deployment Request + run: | + curl -X POST https://pulumi.com \ + -H "Authorization: token ${{ secrets.PULUMI_ACCESS_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d '{ + "operation": "update", + "inheritSettings": true, + "sourceContext": { + "branch": "main" + } + }'