sub domain deploy for branches 6
All checks were successful
Deploy App / build (push) Successful in 29s
Deploy App / deploy (push) Successful in 14s

This commit is contained in:
valere
2026-02-02 19:53:39 +01:00
parent 64eb4d09b9
commit b769eac9cc

View File

@@ -46,13 +46,15 @@ jobs:
- name: Build app - name: Build app
run: | run: |
set -a && source .env && set +a set -a && source .env && set +a
bash /var/docker-web/src/cli.sh down "${APP_NAME}" cat .env
rm -rf "$APP_DIR" echo $APP_NAME
mkdir "$APP_DIR" # bash /var/docker-web/src/cli.sh down "${APP_NAME}"
cp -a $(find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name 'node_modules') "$APP_DIR/" # rm -rf "$APP_DIR"
export COMPOSE_BAKE=false # mkdir "$APP_DIR"
docker rmi "local/${APP_NAME}" 2>/dev/null || true # cp -a $(find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name 'node_modules') "$APP_DIR/"
bash /var/docker-web/src/cli.sh build "${APP_NAME}" # export COMPOSE_BAKE=false
# docker rmi "local/${APP_NAME}" 2>/dev/null || true
# bash /var/docker-web/src/cli.sh build "${APP_NAME}"
deploy: deploy:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@@ -65,4 +67,4 @@ jobs:
- name: Deploy - name: Deploy
run: | run: |
set -a && source .env && set +a set -a && source .env && set +a
bash /var/docker-web/src/cli.sh up "${APP_NAME}" # bash /var/docker-web/src/cli.sh up "${APP_NAME}"