Skip to content

Commit be2f98d

Browse files
committed
Add docs build CI
1 parent 983f8c0 commit be2f98d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/docs.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build docs
2+
3+
on:
4+
push:
5+
branches:
6+
- "**"
7+
paths-ignore:
8+
- tests/**
9+
10+
jobs:
11+
docs-test:
12+
if: github.ref != 'refs/heads/main'
13+
uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main
14+
with:
15+
deploy_type: test
16+
17+
docs-update-latest:
18+
permissions:
19+
contents: write
20+
if: github.ref == 'refs/heads/main'
21+
uses: arup-group/actions-city-modelling-lab/.github/workflows/docs-deploy.yml@main
22+
with:
23+
deploy_type: update_latest
24+
25+
slack-notify-ci-failure:
26+
needs: [docs-test, docs-update-latest]
27+
if: always() && contains(needs.*.result, 'failure')
28+
uses: arup-group/actions-city-modelling-lab/.github/workflows/slack-notify.yml@main
29+
secrets: inherit
30+
with:
31+
result: 'failure'
32+
channel: city-modelling-feeds
33+
message: Docs Build

0 commit comments

Comments
 (0)