Skip to content

Commit

Permalink
wip - try --root-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
eidorb committed Nov 25, 2024
1 parent b4bbe09 commit 2793cbb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ jobs:
run: |
# Install latest micromamba (https://github.com/mamba-org/micromamba-releases/releases).
VERSION=2.0.2-2 INIT_YES=nope CONDA_FORGE_YES=nah "${SHELL}" <(curl -L micro.mamba.pm/install.sh)
ls -la ~/.local/bin # TODO: remove
# Install Poetry.
pipx install poetry~=1.8
# Create Mamba environment.
# export MAMBA_ROOT_PREFIX=~/micromamba # TODO: remove
eval "$(micromamba shell hook -s posix)"
micromamba create --file environment.yml --yes
micromamba activate "${PWD##*/}" # If dir name == environment name...
Expand All @@ -47,7 +45,7 @@ jobs:
aws-region: ap-southeast-2
- run: |
# export MAMBA_ROOT_PREFIX=~/micromamba # TODO: remove
eval "$(micromamba shell hook -s posix)"
eval "$(micromamba shell hook --shell posix --root-prefix ~/micromamba)"
micromamba activate "${PWD##*/}"
# Set timezone so that Sphinx uses local dates.
Expand Down

0 comments on commit 2793cbb

Please sign in to comment.