Files
thamanyah/.gitea/workflows/infrastructure-deploy.yml
T
FahdShalhoub 5d35d4029e
Deploy Infrastructure / pulumi-up (push) Successful in 2s
CHANGE: Removed Default Set Variables
2026-08-27 19:04:36 +03:00

31 lines
817 B
YAML

name: Deploy Infrastructure
on:
push:
branches: [main]
paths:
- "infrastructure/**"
- ".gitea/workflows/infrastructure-deploy.yml"
# Pulumi state isn't safe to update concurrently; serialize runs and let a
# newer push supersede one still queued (not one already applying).
concurrency:
group: pulumi-thamanyah-main
cancel-in-progress: false
env:
AWS_REGION: us-east-1
jobs:
pulumi-up:
runs-on: ubuntu-latest
steps:
- name: Send Deployment Request
run: |
curl -X POST https://api.pulumi.com/api/stacks/fahdshalhoub123-gmail-com/thamanyah/main/deployments \
-H "Authorization: token ${{ secrets.PULUMI_ACCESS_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{
"operation": "update"
}'