-
Notifications
You must be signed in to change notification settings - Fork 21
42 lines (36 loc) · 985 Bytes
/
docs.yml
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
39
40
41
42
name: Build docs
on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- tests/**
- ".github/**/*"
- "!.github/workflows/docs.yml"
jobs:
docs-test:
if: github.ref != 'refs/heads/main'
uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main
with:
deploy_type: test
notebook_kernel: pam
docs-update-latest:
permissions:
contents: write
if: github.ref == 'refs/heads/main'
uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main
with:
deploy_type: update_latest
notebook_kernel: pam
slack-notify-ci-failure:
needs: [docs-test, docs-update-latest]
if: always() && contains(needs.*.result, 'failure')
uses: arup-group/actions-city-modelling-lab/.github/workflows/slack-notify.yml@main
secrets: inherit
with:
result: 'failure'
channel: pam-feeds
message: Docs Build