Merge pull request #1855 from crazy-max/disable-frontend-daily

Disable frontend build on schedule event
v0.8
Tõnis Tiigi 2020-11-29 22:53:28 -08:00 committed by GitHub
commit bee08c6c63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -408,6 +408,7 @@ jobs:
frontend-base:
runs-on: ubuntu-latest
if: github.event_name != 'schedule'
outputs:
typ: ${{ steps.prep.outputs.typ }}
tag: ${{ steps.prep.outputs.tag }}
@ -420,11 +421,7 @@ jobs:
TYP=master
TAG=mainline
PUSH=false
if [ "${{ github.event_name }}" = "schedule" ]; then
TYP=daily
TAG=_
PUSH=push
elif [[ $GITHUB_REF == refs/tags/dockerfile/* ]]; then
if [[ $GITHUB_REF == refs/tags/dockerfile/* ]]; then
TYP=tag
TAG=${GITHUB_REF#refs/tags/}
PUSH=push
@ -437,6 +434,7 @@ jobs:
frontend-image:
runs-on: ubuntu-latest
if: github.event_name != 'schedule'
needs: [frontend-base, test]
steps:
-