Skip to content

Commit f866963

Browse files
committed
update documentation
1 parent 5154019 commit f866963

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ jobs:
1919
version: '1.10'
2020
- name: Install dependencies
2121
run: |
22-
julia --project=docs/ -e 'ENV["JULIA_CONDAPKG_ENV"] = abspath("rms_env"); using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.build("ReactionMechanismSimulator");'
22+
current_path=${{ github.workspace }}
23+
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
24+
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.build("ReactionMechanismSimulator");'
2325
- name: Build and deploy
2426
env:
2527
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
2628
DOCUMENTER_DEBUG: true
27-
run: julia --color=yes --project=docs docs/make.jl
29+
run: |
30+
current_path=${{ github.workspace }}
31+
export JULIA_CONDAPKG_ENV="$current_path/rms_env"
32+
julia --color=yes --project=docs docs/make.jl

0 commit comments

Comments
 (0)