Added up-down workflow for easier lifecycle management #12
@@ -43,7 +43,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
set -e
|
set -e
|
||||||
cd ${{ env.REMOTE_PREPROD_PATH }}
|
cd ${{ env.REMOTE_PREPROD_PATH }}
|
||||||
if ([ "${{ github.event.inputs.action }}" = "up" ]; then
|
if [ "${{ github.event.inputs.action }}" = "up" ]; then
|
||||||
docker compose -f docker-compose.yml up -d --build --remove-orphans --wait
|
docker compose -f docker-compose.yml up -d --build --remove-orphans --wait
|
||||||
elif [ "${{ github.event.inputs.action }}" = "down" ]; then
|
elif [ "${{ github.event.inputs.action }}" = "down" ]; then
|
||||||
docker compose -f docker-compose.yml down || true
|
docker compose -f docker-compose.yml down || true
|
||||||
|
|||||||
Reference in New Issue
Block a user