Skip to content

Commit 76c247a

Browse files
blegatodow
andauthored
Simplify documentation GH action with custom shell (jump-dev#1227)
* Simplify documentation GH action with custom shell * Update documentation.yml Co-authored-by: Oscar Dowson <odow@users.noreply.github.com>
1 parent c8240b6 commit 76c247a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/documentation.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ jobs:
1515
# Build documentation on Julia 1.0
1616
version: '1.0'
1717
- name: Install dependencies
18-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
18+
shell: julia --project=docs {0}
19+
run: |
20+
using Pkg
21+
Pkg.develop(PackageSpec(path=pwd()))
22+
Pkg.instantiate()
1923
- name: Build and deploy
2024
env:
2125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token

0 commit comments

Comments
 (0)