Testing approval status.

This commit is contained in:
2025-11-24 19:45:39 -05:00
parent 94f040c7b2
commit 12d8f8c68f
@@ -166,6 +166,7 @@ jobs:
working_directory: cloudflare
- name: Wait for manual approval
id: tf-plan-approval
uses: https://git.trez.wtf/Trez/gitea-manual-approval@main
with:
token: ${{ secrets.BOT_GITEA_TOKEN }}
@@ -179,6 +180,11 @@ jobs:
${{ steps.tofu-plan.outputs.plan-output }}
````
- name: Deploy if approved
if: steps.tf-plan-approval.outputs.approval_status == 'approved'
run: |
echo "✅ Approved! Proceeding with deployment..."
# apply:
# name: Apply Tofu Plan
# needs: plan-approval