1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-30 12:00:38 +00:00

Deploy all the workspace crates' docs

This commit is contained in:
Yuki Okushi 2020-04-08 04:42:38 +09:00
parent 0ad02ee0e0
commit dfaa330a94
No known key found for this signature in database
GPG key ID: B0986C85C0E2DAA1

View file

@ -24,7 +24,7 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: doc command: doc
args: --no-deps --all-features args: --no-deps --workspace --all-features
- name: Tweak HTML - name: Tweak HTML
run: echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html run: echo "<meta http-equiv=refresh content=0;url=os_balloon/index.html>" > target/doc/index.html
@ -32,4 +32,4 @@ jobs:
- name: Upload documentation - name: Upload documentation
run: | run: |
git clone https://github.com/davisp/ghp-import.git git clone https://github.com/davisp/ghp-import.git
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://${{ secrets.GITHUB_TOKEN }}@github.com/"${{ github.repository }}.git" target/doc ./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -r https://${{ secrets.GITHUB_TOKEN }}@github.com/"${{ github.repository }}.git" target/doc