File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -29,15 +29,14 @@ jobs:
29
29
# Install micromamba.
30
30
wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
31
31
32
-
33
32
# Install Poetry.
34
33
pipx install poetry~=1.8
35
34
36
35
# Create Mamba environment.
37
- export MAMBA_ROOT_PREFIX=~/micromamba
38
36
eval "$(./bin/micromamba shell hook -s posix)"
39
- micromamba create --file environment.yml --yes
40
- micromamba activate brodie.id.au
37
+ export MAMBA_ROOT_PREFIX=~/micromamba
38
+ ./bin/micromamba create --file environment.yml --yes
39
+ ./bin/micromamba activate "${PWD##*/}" # If dir name == environment name...
41
40
42
41
# Install Python package dependencies.
43
42
poetry install
46
45
role-to-assume : arn:aws:iam::961672313229:role/Account-GithubOidcRole20798CD3-LZP3AHTIPJU2
47
46
aws-region : ap-southeast-2
48
47
- run : |
49
- export MAMBA_ROOT_PREFIX=~/micromamba
50
48
eval "$(./bin/micromamba shell hook -s posix)"
51
- micromamba activate brodie.id.au
49
+ MAMBA_ROOT_PREFIX=~/ micromamba ./bin/micromamba activate "${PWD##*/}"
52
50
53
51
# Set timezone so that Sphinx uses local dates.
54
52
sudo timedatectl set-timezone Australia/Queensland
You can’t perform that action at this time.
0 commit comments