sub domain deploy for branches 18
This commit is contained in:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -11,8 +11,8 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build app
|
||||
run: |
|
||||
bash ./.github/workflows/setup-env.sh
|
||||
if [ -n "$APP_NAME" ]; then
|
||||
bash ./.github/workflows/setup-env.sh
|
||||
if [ -n "$APP_NAME" ]; then
|
||||
set -a && source .env && set +a
|
||||
bash /var/docker-web/src/cli.sh down "${APP_NAME}"
|
||||
rm -rf "$APP_DIR"
|
||||
|
||||
Reference in New Issue
Block a user