Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
danet
Open Edu Materials
Commits
c7bbc4c0
Commit
c7bbc4c0
authored
Feb 04, 2021
by
Manuel Max Kieweg
Browse files
initial commit and website ci
parent
2875ac5b
Pipeline
#63074
passed with stage
in 3 minutes and 10 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
c7bbc4c0
image
:
name
:
$CI_REGISTRY/danet/internetworking/mdbook:latest
entrypoint
:
-
'
'
before_script
:
-
find . -name '*.dot' | xargs dot -T svg -O
test
:
stage
:
test
script
:
-
mdbook build --dest-dir public
rules
:
-
if
:
$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
# the 'pages' job will deploy and build your site to the 'public' path
pages
:
stage
:
deploy
script
:
-
mdbook build --dest-dir public
artifacts
:
paths
:
-
public
expire_in
:
1 week
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# this job will affect only the 'main' branch
\ No newline at end of file
Write
Preview
Supports
Markdown
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