Skip to content

Commit

Permalink
fix: automated update of install script in pixi.sh (#1351)
Browse files Browse the repository at this point in the history
The `install.sh` and `install.ps1` where significantly outdated because
the update mechanism was faulty

Ps. this is not in a rush as I manually updated the upstream. That's why
I know this changes works.
  • Loading branch information
ruben-arts authored May 8, 2024
1 parent a1bb924 commit 8e693c7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
- main
paths:
- "docs/**"
- ".github/workflows/docs.yml"
- "mkdocs.yml"
- "pixi.*"
tags:
- v**
pull_request:
Expand Down Expand Up @@ -117,7 +119,6 @@ jobs:
git checkout gh-pages
git checkout main -- install/install.sh install/install.ps1
mv install/install.sh install/install.ps1 .
git restore .
git restore --staged .
git add install.sh install.ps1
# Check diff before committing
Expand Down
2 changes: 1 addition & 1 deletion install/docs_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def on_files(files: Files, config: MkDocsConfig):
"""Copy the install scripts to the site."""
"""Copy the installation scripts to the site."""
for script in INSTALL_SCRIPTS:
files.append(
File(
Expand Down
1 change: 1 addition & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ build-docs = "mkdocs build --strict"
docs = "mkdocs serve"
deploy-latest = "mike deploy --push --update-aliases $RELEASE_VERSION latest"
deploy-dev = "mike deploy --push dev devel"
mike-serve = "mike serve"

[feature.schema.tasks]
generate-schema = { cmd = "python model.py > schema.json", cwd = "schema" }
Expand Down

0 comments on commit 8e693c7

Please sign in to comment.