Skip to content

chore(release): 2.3.0 #21

chore(release): 2.3.0

chore(release): 2.3.0 #21

Workflow file for this run

name: Staging
on:
push:
branches:
- chore/release*
pull_request:
branches:
- chore/release*
workflow_dispatch:
jobs:
deploy:
environment: staging
runs-on: [self-hosted, ors-map-client-staging]
steps:
- name: trigger branch name
run: echo ${GITHUB_REF_NAME}
- name: fetch repo state and prune remotes
working-directory: ${{ secrets.work_dir }}
run: git fetch --prune
- name: checkout trigger branch
working-directory: ${{ secrets.work_dir }}
run: git checkout --progress --force ${GITHUB_REF_NAME}
- name: hard reset to origin state
working-directory: ${{ secrets.work_dir }}
run: git reset --hard origin/${GITHUB_REF_NAME}
- name: build docker rebuild and restart
working-directory: ${{ secrets.work_dir }}
run: docker-compose up --build --force-recreate -d