Initial commit: FastAPI Hello-World app for hello-test
Deploy App / deploy (push) Successful in 24s

This commit is contained in:
2026-07-08 13:38:18 +02:00
commit af68c39ed0
5 changed files with 55 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Deploy App
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Deploy to Server
run: |
APP_DIR="/opt/aicds/apps/${GITHUB_REPOSITORY#*/}"
mkdir -p $APP_DIR
cp -a . $APP_DIR/
cd $APP_DIR
docker compose down || true
docker compose up -d --build
docker image prune -f