Try building internal docs.
This commit is contained in:
parent
ef978756cb
commit
5191b9d1d5
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"projects": {
|
"projects": {
|
||||||
"default": "zealous-zebra"
|
"doc": "zealous-zebra",
|
||||||
|
"doc-internal": "zebra-doc-internal"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,12 +18,23 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
override: true
|
override: true
|
||||||
- name: Build docs
|
- name: Build external docs
|
||||||
run: |
|
run: |
|
||||||
cargo doc --no-deps
|
cargo doc --no-deps
|
||||||
- name: Deploy to firebase
|
- name: Deploy external docs to firebase
|
||||||
uses: w9jds/firebase-action@v1.1.0
|
uses: w9jds/firebase-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
args: deploy
|
args: deploy
|
||||||
env:
|
env:
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||||
|
PROJECT_ID: zealous-zebra
|
||||||
|
- name: Build internal docs
|
||||||
|
run: |
|
||||||
|
cargo doc --no-deps --document-private-items
|
||||||
|
- name: Deploy external docs to firebase
|
||||||
|
uses: w9jds/firebase-action@v1.1.0
|
||||||
|
with:
|
||||||
|
args: deploy
|
||||||
|
env:
|
||||||
|
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||||
|
PROJECT_ID: zebra-doc-internal
|
||||||
|
|
Loading…
Reference in New Issue