Skip to content

Deploy test backend new #4

Deploy test backend new

Deploy test backend new #4

Workflow file for this run

name: Deploy test backend new
on:
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-comtestBck.yml"
- "docker-compose.stag.yml"
jobs:
deploy:
runs-on: self-hosted
env:
REPO_NAME: ${{ github.event.repository.name }}
COMPOSE_FILE: ${{ github.event.inputs.config }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Dotenv Action
uses: falti/dotenv-action@v1.1.4
with:
export-variables: true
keys-case: bypass
- name: Checking COMPOSE FILE
run: |
echo "${COMPOSE_FILE}"
- name: Check status of config file
run: |
env
docker compose version
- name: Verify that gateway is available
run: docker ps