Skip to content

Commit

Permalink
update archived docs workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jun Park <peter.park@amd.com>

move files
  • Loading branch information
peterjunpark committed Jul 30, 2024
1 parent 85c27a8 commit d2efd38
Show file tree
Hide file tree
Showing 103 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches: ["main"]
paths:
- 'src/docs'
- 'src/archive/docs-1.x'
- 'docs/archive/'
- 'docs/archive/docs-1.x'
- '.github/workflows/docs.yml'
- 'VERSION'

Expand All @@ -31,24 +31,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Additional python packages
run: pip3 install -r requirements-doc.txt
run: pip3 install -r docs/archive/requirements-doc.txt
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build 1.x docs
run: |
cd src/archive/docs-1.x
cd docs/archive/docs-1.x
make html
- name: Build current docs
run: |
cd src/docs
cd docs/archive/
make html
- name: Relocate 1.x docs
run: |
mv src/archive/docs-1.x/_build/html src/docs/_build/html/1.x
mv docs/archive/docs-1.x/_build/html docs/archive/_build/html/1.x
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./src/docs/_build/html
path: ./docs/archive/_build/html

# Deployment job
deploy:
Expand Down
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.

0 comments on commit d2efd38

Please sign in to comment.