Run deploy compose from host repo paths
This commit is contained in:
@@ -13,12 +13,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/FlockPal-dev:/deploy/FlockPal-dev
|
- /docker/FlockPal-dev:/docker/FlockPal-dev
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy dev
|
- name: Deploy dev
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
cd /deploy/FlockPal-dev
|
cd /docker/FlockPal-dev
|
||||||
git fetch --all --prune
|
git fetch --all --prune
|
||||||
git pull --ff-only
|
git pull --ff-only
|
||||||
docker compose -f docker-compose.dev.yaml up -d --build
|
docker compose -f docker-compose.dev.yaml up -d --build
|
||||||
@@ -28,12 +28,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/FlockPal:/deploy/FlockPal
|
- /docker/FlockPal:/docker/FlockPal
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy prod
|
- name: Deploy prod
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
cd /deploy/FlockPal
|
cd /docker/FlockPal
|
||||||
git fetch --all --prune
|
git fetch --all --prune
|
||||||
git pull --ff-only
|
git pull --ff-only
|
||||||
docker compose -f docker-compose.prod.yml up -d --build
|
docker compose -f docker-compose.prod.yml up -d --build
|
||||||
|
|||||||
Reference in New Issue
Block a user