mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
[docs] Add Objective-C API doc artifact publishing to publish-gh-pages.yml (#15430)
This commit is contained in:
parent
bd1b8a824c
commit
1761aee442
1 changed files with 12 additions and 2 deletions
14
.github/workflows/publish-gh-pages.yml
vendored
14
.github/workflows/publish-gh-pages.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
|
||||
# Workflow for building and deploying the ORT GitHub Pages site
|
||||
name: Publish site
|
||||
|
||||
on:
|
||||
|
|
@ -72,7 +72,15 @@ jobs:
|
|||
branch: main
|
||||
path: apidocs
|
||||
|
||||
- name: Move apidocs folder into place
|
||||
- name: Download Objective-C apidocs artifact
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
name: onnxruntime-objectivec-apidocs
|
||||
workflow: publish-objectivec-apidocs.yml
|
||||
branch: main
|
||||
path: apidocs
|
||||
|
||||
- name: Move apidocs folders into place
|
||||
run: |
|
||||
sudo rm -rf _site/docs/api/c
|
||||
sudo mv apidocs/docs/api/c _site/docs/api
|
||||
|
|
@ -82,6 +90,8 @@ jobs:
|
|||
sudo mv apidocs/docs/api/java _site/docs/api
|
||||
sudo rm -rf _site/docs/api/python
|
||||
sudo mv apidocs/docs/api/python _site/docs/api
|
||||
sudo rm -rf _site/docs/api/objectivec
|
||||
sudo mv apidocs/docs/api/objectivec _site/docs/api
|
||||
|
||||
- name: Upload site
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue