Update .gitea/workflows/cleanup-pr.yml

This commit is contained in:
jpd committed 2026-10-01 00:14:10 +01:00
1 parent b108bb26b8
commit 460700bf8c
2 files changed
+14 -16

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
name: Cleanup Staging on Merge
on:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Stop Staging Container
run: |
docker rm -f fbird-staging || true
echo "Staging container stopped."
-16
View File
@@ -1,16 +0,0 @@
name: Stop Staging Environment
# Allows you to trigger this manually from the Gitea UI
on:
workflow_dispatch:
jobs:
stop-staging:
runs-on: ubuntu-latest
steps:
- name: Stop and Remove Staging Container
run: |
echo "Tearing down staging container..."
docker rm -f fbird-staging || true
echo "Staging environment stopped successfully!"