Try building internal docs.

This commit is contained in:
Henry de Valence 2020-02-10 18:04:33 -08:00
parent ef978756cb
commit 5191b9d1d5
2 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,6 @@
{
"projects": {
"default": "zealous-zebra"
"doc": "zealous-zebra",
"doc-internal": "zebra-doc-internal"
}
}

View File

@ -18,12 +18,23 @@ jobs:
with:
toolchain: nightly
override: true
- name: Build docs
- name: Build external docs
run: |
cargo doc --no-deps
- name: Deploy to firebase
- name: Deploy external docs to firebase
uses: w9jds/firebase-action@v1.1.0
with:
args: deploy
env:
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