Skip to content

Commit

Permalink
Reorganizing docs runner and setting archive subdir for old docs
Browse files Browse the repository at this point in the history
Signed-off-by: coleramos425 <[email protected]>
  • Loading branch information
coleramos425 committed Apr 1, 2024
1 parent b5ec961 commit 933e2ec
Show file tree
Hide file tree
Showing 175 changed files with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docs-2.x.yml → .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
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
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 933e2ec

Please sign in to comment.