Skip to content

Commit

Permalink
Update deploy_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cevin Dominic Neubauer authored and GitHub Enterprise committed Mar 5, 2025
1 parent 947e85f commit a9a4780
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ on:
- "docker-compose.dev.yml"
- "docker-compose.stag.yml"
- "docker-compose.yml"
push:
branches:
- main
- staging
- dev

jobs:
deploy:
runs-on: self-hosted
env:
REPO_NAME: ${{ github.event.repository.name }}
COMPOSE_FILE: ${{ github.event.inputs.config }}
COMPOSE_FILE: ${{ github.event.inputs.config || (github.ref_name == 'main' && 'docker-compose.yml') || (github.ref_name == 'staging' && 'docker-compose.stag.yml') || (github.ref_name == 'dev' && 'docker-compose.dev.yml') }}

steps:
- name: Checkout repository
Expand Down

0 comments on commit a9a4780

Please sign in to comment.