This commit is contained in:
1 parent
85ba0ffdfb
commit
1d91c42648
1 file changed
+13
-3
@@ -1,4 +1,15 @@
|
||||
- name: Deploying via SSH to Host (Auto-Clean)
|
||||
name: Remote Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Deploying via SSH to Host
|
||||
uses: appleboy/[email protected]
|
||||
with:
|
||||
host: "127.0.0.1"
|
||||
@@ -9,8 +20,7 @@
|
||||
set -e
|
||||
echo "--- EPIC WEB CONTROL: Starting Auto-Cleanup & Deploy ---"
|
||||
|
||||
# 1. Ruim "dode" containers op zodat Docker niet vastloopt
|
||||
# We gebruiken --force om niet om bevestiging te vragen
|
||||
# 1. Ruim "dode" containers op
|
||||
sudo docker container prune -f
|
||||
|
||||
# 2. Navigeer naar de map
|
||||
|
||||
Reference in new issue
Block a user