File tree Expand file tree Collapse file tree 5 files changed +34
-4
lines changed
Expand file tree Collapse file tree 5 files changed +34
-4
lines changed Original file line number Diff line number Diff line change 11name : Publish docs
22on :
3+ push :
4+ branches :
5+ - main
36 pull_request :
47 branches :
58 - main
7376 repo: context.repo.repo,
7477 body: `Preview url: https://${hostnamePrefix}-${{ github.event.number }}--${hostnameSuffix}`,
7578 })
79+
80+ docs-publish :
81+ runs-on : ubuntu-latest
82+ # don't publish for pull requests
83+ if : github.event.pull_request == null
84+ steps :
85+ - name : Checkout
86+ uses : actions/checkout@v6
87+
88+ - uses : actions/setup-python@v6
89+ with :
90+ python-version-file : .github/workflows/.python-version
91+ cache : pip
92+ cache-dependency-path : |
93+ "docs/requirements.txt"
94+
95+ - name : Install MkDocs requirements
96+ run : |
97+ pip install -r docs/requirements.txt
98+
99+ - name : Deploy MkDocs website
100+ run : |
101+ mkdocs gh-deploy --force
Original file line number Diff line number Diff line change 1- # Hello explanation
1+ # Coming soon
Original file line number Diff line number Diff line change 1- # Hello guides
1+ # Coming soon
Original file line number Diff line number Diff line change 1- # Hello docs!
1+ # Digital Service Design Language
2+
3+ Cal-ITP's Digital Service Design Language (DSDL) is a (work in progress) attempt to unify design elements across various products.
4+
5+ You'll be able to learn more about it here very soon.
Original file line number Diff line number Diff line change 1- # Hello reference
1+ # Coming soon
You can’t perform that action at this time.
0 commit comments