Add .gitea/workflows/stop-staging.yml
This commit is contained in:
1 parent
61a0fde869
commit
e6e8f4dcb1
1 file changed
+14
@@ -0,0 +1,14 @@
|
|||||||
|
name: Stop Staging Environment
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stop:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Stop and Remove Staging Container
|
||||||
|
run: |
|
||||||
|
echo "Stopping staging environment..."
|
||||||
|
docker rm -f fbird-staging || echo "Container fbird-staging was not running."
|
||||||
|
echo "Staging environment stopped successfully."
|
||||||
Reference in new issue
Block a user