mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-19 10:26:36 +01:00
Move docs to other repos
This commit is contained in:
parent
e52af7a841
commit
3103269085
2 changed files with 7 additions and 6 deletions
6
.github/workflows/ldoc.yml
vendored
6
.github/workflows/ldoc.yml
vendored
|
@ -45,7 +45,7 @@ jobs:
|
|||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY_LUA }}
|
||||
external_repository: pinnacle-comp/lua-reference
|
||||
publish_dir: ../ldoc_gen/.ldoc_gen/doc
|
||||
destination_dir: ${{ env.BRANCH_NAME }}/lua
|
||||
# force_orphan: true
|
||||
force_orphan: true
|
||||
|
|
7
.github/workflows/rustdoc.yml
vendored
7
.github/workflows/rustdoc.yml
vendored
|
@ -25,12 +25,13 @@ jobs:
|
|||
- name: Get protoc
|
||||
run: sudo apt install protobuf-compiler
|
||||
- name: Build docs
|
||||
run: cd ./api/rust && cargo doc
|
||||
run: cd ./api/rust && cargo doc --no-deps -p pinnacle-api -p tokio -p xkbcommon
|
||||
- name: Create index.html
|
||||
run: echo "<meta http-equiv=\"refresh\" content=\"0; url=pinnacle_api\">" > ./target/doc/index.html
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY_RUST }}
|
||||
external_repository: pinnacle-comp/rust-reference
|
||||
publish_dir: ./target/doc
|
||||
destination_dir: ${{ env.BRANCH_NAME }}/rust
|
||||
force-orphan: true
|
||||
|
|
Loading…
Reference in a new issue