-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (34 loc) · 1.08 KB
/
docs-gen.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Generate chart Docs
#description:
# Triggers:
# - manual run
# - push to PR with label 'ci' and that job successfully running (and pushing to dockerhub)
# Results:
# - push VERSION as tag to graphistry/graph-app-kit if not already there
# - if VERSION tag already in gak repo, instead trigger gak repo dockerhubpublish
on:
workflow_call:
workflow_dispatch:
workflow_run:
workflows: [Release Charts]
types:
- completed
jobs:
cancel_outstanding:
name: Detect and cancel outstanding runs of this workflow
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Cancel Previous Runs
if: ${{ (github.event.label.name == 'Release Charts' && !contains(github.event.pull_request.labels.*.name, 'skip-cancel')) }}
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
docs-gen:
name: generate docs
#description: Public GPU env (VERSION_ENV -> VERSION)
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- name: checkout
uses: actions/checkout@v2