Configure isolated production deployment
Deploy PROD / deploy (push) Successful in 0s

This commit is contained in:
Debian
2026-09-02 09:19:26 +02:00
parent 84eec0039e
commit b8f91d94b5
3 changed files with 18 additions and 8 deletions
+18
View File
@@ -0,0 +1,18 @@
name: Deploy PROD
on:
push:
branches: [main]
jobs:
deploy:
runs-on: prod
steps:
- name: Deploy Akademia on production host
run: |
set +e
/opt/akademia/deploy-prod.sh
rc=$?
echo "----- /opt/akademia/deploy.log (tail) -----"
tail -n 30 /opt/akademia/deploy.log
exit $rc