Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Bentriou Mahmoud
MarkovProcesses.jl
Commits
48840b6a
Commit
48840b6a
authored
May 21, 2021
by
Bentriou Mahmoud
Browse files
Rewrite of CI configuration file
parent
1edf6aec
Pipeline
#11510
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
48840b6a
name
:
Documentation
on
:
push
:
branches
:
-
master
tags
:
'
*'
pull_request
:
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
julia-actions/setup-julia@latest
with
:
version
:
'
1.5.3'
-
name
:
Install dependencies
run
:
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
-
name
:
Build and deploy
env
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
# For authentication with GitHub Actions token
DOCUMENTER_KEY
:
${{ secrets.DOCUMENTER_KEY }}
# For authentication with SSH deploy key
run
:
julia --project=docs/ docs/make.jl
build-doc
:
stage
:
documentation
script
:
-
"
julia
--project=docs/
-e
'using
Pkg;
Pkg.develop(PackageSpec(path=pwd()));
Pkg.instantiate()'"
-
"
julia
--project=docs/
docs/make.jl"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment