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:
parent
0ad02ee0e0
commit
dfaa330a94
1 changed files with 2 additions and 2 deletions
4
.github/workflows/upload-doc.yml
vendored
4
.github/workflows/upload-doc.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue