Reorganizing docs runner and setting archive subdir for old docs
Signed-off-by: coleramos425 <colramos@amd.com>
[ROCm/rocprofiler-compute commit: aac471c0fa]
This commit is contained in:
1 parent
6287e6dad3
commit
fc315248c7
175 files changed
+8
-8
No files matched your search
+8
-8
@@ -5,8 +5,8 @@ on:
|
||||
branches: ["main"]
|
||||
paths:
|
||||
- 'src/docs-2.x'
|
||||
- 'src/docs-1.x'
|
||||
- '.github/workflows/docs-2.x.yml'
|
||||
- 'src/archive/docs-1.x'
|
||||
- '.github/workflows/docs.yml'
|
||||
- 'VERSION'
|
||||
|
||||
workflow_dispatch:
|
||||
@@ -36,19 +36,19 @@ jobs:
|
||||
uses: actions/configure-pages@v4
|
||||
- name: Build 1.x docs
|
||||
run: |
|
||||
cd src/docs-1.x
|
||||
cd src/archive/docs-1.x
|
||||
make html
|
||||
- name: Build 2.x docs
|
||||
- name: Build current docs
|
||||
run: |
|
||||
cd src/docs-2.x
|
||||
cd src/docs
|
||||
make html
|
||||
- name: Relocate 2.x docs
|
||||
- name: Relocate 1.x docs
|
||||
run: |
|
||||
mv src/docs-2.x/_build/html src/docs-1.x/_build/html/2.x
|
||||
mv src/archive/docs-1.x/_build/html src/docs/_build/html/1.x
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: ./src/docs-1.x/_build/html
|
||||
path: ./src/docs/_build/html
|
||||
|
||||
# Deployment job
|
||||
deploy:
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loaded 100 of 175 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user