Skip to content

1.0.2

1.0.2 #62

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