Publish docs to gh-pages on merge to master
This commit is contained in:
1 parent
6f4f098671
commit
c90c3e2f98
3 files changed
+119
-4
No files matched your search
@@ -72,6 +72,18 @@ jobs:
|
||||
name: Publish using Semantic Release
|
||||
command: npx semantic-release --debug --dry-run
|
||||
|
||||
docs_publish:
|
||||
<<: *defaults
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: ~/repo
|
||||
- run:
|
||||
name: Generate Docs
|
||||
command: yarn run staticDeploy
|
||||
- run:
|
||||
name: Publish Docs
|
||||
command: yarn run docs:publish
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
|
||||
@@ -96,3 +108,6 @@ workflows:
|
||||
- npm_publish:
|
||||
requires:
|
||||
- build_and_test
|
||||
- docs_publish:
|
||||
requires:
|
||||
- build_and_test
|
||||
Reference in new issue
Block a user