Skip to content

Commit

Permalink
debugging the renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
daurer committed Dec 20, 2024
1 parent 680a444 commit 6744567
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/_build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,13 @@ jobs:

- name: Build Sphinx Documentation
working-directory: docs
run: make html

- name: Rename Build Directory
run: |
make html
ls -l
mv _build/html ${{ inputs.tag }}
ls -l
- name: Upload Docs Artifact
uses: actions/[email protected]
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/_build_legacy_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ jobs:

- name: Build Sphinx Documentation
working-directory: doc
run: make html

- name: Rename Build Directory
run: |
make html
ls -l
mv build/html legacy
ls -l
- name: Upload Docs Artifact
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
new_docs:
uses: ./.github/workflows/_build_docs.yaml
with:
tag: $github.ref_name
tag: ${{ github.ref_name }}

# merge_legacy_docs:
# needs:
Expand Down

0 comments on commit 6744567

Please sign in to comment.