Skip to content

Commit

Permalink
Update deploy_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
malenelu authored and GitHub Enterprise committed Mar 13, 2025
1 parent e1f712d commit c833823
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,6 @@ on:

push:
branches: ["development"]
workflow_dispatch:
inputs:
config:
description: "Which compose config file to deploy"
required: true
default: "docker-compose.dev.yml"
type: choice
options:
- "docker-compose.dev.yml"
- "docker-compose.stag.yml"
- "docker-compose.yml"

jobs:
deploy:
Expand All @@ -37,10 +26,10 @@ jobs:
env
docker compose version
cd $GITHUB_WORKSPACE
docker compose -f $COMPOSE_FILE --verbose config && printf "OK\n" || exit 1
docker compose -f docker-compose.dev.yml --verbose config && printf "OK\n" || exit 1
- name: Build and run docker image
run: docker compose -f $COMPOSE_FILE up --force-recreate --build -d
run: docker compose -f docker-compose.dev.yml up --force-recreate --build -d

- name: Verify that gateway is available
run: docker ps

0 comments on commit c833823

Please sign in to comment.