Skip to content

Commit

Permalink
Merge pull request #1 from malenelu/main
Browse files Browse the repository at this point in the history
Merge main and dev
  • Loading branch information
malenelu authored and GitHub Enterprise committed Mar 13, 2025
2 parents e1f712d + 7c83967 commit 52cf87c
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
name: Deploy to TDT4242 server development

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 +25,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 52cf87c

Please sign in to comment.