Skip to content

Commit

Permalink
Update github pages build folders
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jun 10, 2024
1 parent 96bfd1b commit f6182de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docs-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: py-polars/docs/build/html
target-folder: docs/python/dev
target-folder: api/python/dev
single-commit: true

- name: Parse the tag to find the major/minor version of Polars
Expand All @@ -74,14 +74,13 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: py-polars/docs/build/html
target-folder: docs/python/version/${{ steps.version.outputs.version }}
target-folder: api/python/version/${{ steps.version.outputs.version }}
single-commit: true

- name: Deploy Python docs for latest release version - stable
if: github.event_name == 'repository_dispatch'
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: py-polars/docs/build/html
# Keeping this folder for backwards compatibility
target-folder: py-polars/html
target-folder: api/python/stable
single-commit: true
2 changes: 1 addition & 1 deletion .github/workflows/docs-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/doc
target-folder: docs/rust/dev
target-folder: api/rust/dev
single-commit: true

# Make sure documentation artifacts are not cached
Expand Down

0 comments on commit f6182de

Please sign in to comment.