Enable manual and runner-bound dev deploy workflow
This commit is contained in:
@@ -9,6 +9,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: anal-front-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
|
group: anal-front-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
|
||||||
@@ -95,10 +96,20 @@ jobs:
|
|||||||
|
|
||||||
deploy_dev:
|
deploy_dev:
|
||||||
name: Build and Deploy Dev via Compose
|
name: Build and Deploy Dev via Compose
|
||||||
runs-on: ubuntu-latest
|
runs-on: [frontend, ubuntu-latest]
|
||||||
timeout-minutes: 45
|
timeout-minutes: 45
|
||||||
needs: [quality]
|
needs: [quality]
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/dev' && needs.quality.result == 'success' && !contains(github.event.head_commit.message, '#no_deploy')
|
if: |
|
||||||
|
(
|
||||||
|
github.event_name == 'push' &&
|
||||||
|
github.ref == 'refs/heads/dev' &&
|
||||||
|
needs.quality.result == 'success' &&
|
||||||
|
!contains(github.event.head_commit.message, '#no_deploy')
|
||||||
|
) || (
|
||||||
|
github.event_name == 'workflow_dispatch' &&
|
||||||
|
github.ref == 'refs/heads/dev' &&
|
||||||
|
needs.quality.result == 'success'
|
||||||
|
)
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
Reference in New Issue
Block a user