Enable manual and runner-bound dev deploy workflow
This commit is contained in:
@@ -9,6 +9,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: anal-front-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
|
||||
@@ -95,10 +96,20 @@ jobs:
|
||||
|
||||
deploy_dev:
|
||||
name: Build and Deploy Dev via Compose
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: [frontend, ubuntu-latest]
|
||||
timeout-minutes: 45
|
||||
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:
|
||||
- name: Checkout code
|
||||
|
||||
Reference in New Issue
Block a user