INFRA: Changed the INfra Pipeline from Running the Deployment Locally in The Gitea Runner To Triggeirng it in Pulumi
Deploy Infrastructure / pulumi-up (push) Successful in 2s

This commit is contained in:
FahdShalhoub
2026-08-27 12:19:01 +03:00
parent 92e3b3283f
commit 334d9c1afc
+12 -14
View File
@@ -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 "<org>/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"
}
}'