Skip to content

0.2.5

0.2.5 #4

Workflow file for this run

name: deployment
on:
push:
branches: ["master"]
workflow_dispatch:
# inputs:
# environment:
# description: 'Environment'
# required: true
# type: choice
# options:
# - 'UAT'
# - 'PROD'
# default: 'UAT'
jobs:
build:
runs-on: ${{ vars.RUNNER_LABEL }}
steps:
- uses: actions/checkout@v3
- name: Build static files for nginx container.
env:
BASE_URL: ${{ vars.BASE_URL }}
NODE_ENV: production
run: make build
deploy:
runs-on: ${{ vars.RUNNER_LABEL }}
needs: [ build ]
steps:
- name: Deploy Docker Container, recreate Container with fresh image.
env:
NODE_ENV: production
run: make run