Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux-course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux-course
Merge requests
!145
Feature/ci slides setup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature/ci slides setup
feature/ci-slides-setup
into
master
Overview
0
Commits
9
Pipelines
51
Changes
1
Merged
Dennis Gläser
requested to merge
feature/ci-slides-setup
into
master
1 year ago
Overview
0
Commits
9
Pipelines
51
Changes
1
Expand
0
0
Merge request reports
Viewing commit
21a53909
Show latest version
1 file
+
0
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
21a53909
[TMP] run ci on branches other than master
· 21a53909
Dennis Gläser
authored
1 year ago
.gitlab-ci.yml
+
20
−
2
Options
@@ -5,6 +5,8 @@ stages:
variables
:
IMAGE_REGISTRY_URL
:
$CI_REGISTRY/dumux-repositories/dumux-docker-ci
DUMUX_CI_DUNE_LATEST_RELEASE
:
"
2.9"
REVEAL_THEME
:
"
serif"
PANDOC_VERSION
:
3.1.2
# rules for the default triggers:
# - pipelines are triggered for merge requests and external triggers (e.g. nightly build in dumux)
@@ -36,9 +38,25 @@ pages:
image
:
alpine:latest
stage
:
deploy
script
:
-
echo 'Nothing to do...'
-
wget https://github.com/jgm/pandoc/releases/download/$PANDOC_VERSION/pandoc-$PANDOC_VERSION-linux-amd64.tar.gz -O pandoc.tar.gz
-
tar -xvf pandoc.tar.gz
-
export PATH=$PATH:$(pwd)/pandoc-$PANDOC_VERSION/bin
-
|
mkdir build && cd build
for MDFILE in ../slides/*.md; do
TARGET=${MDFILE/.md/.html}
TARGET=${TARGET#../slides/}
echo "Processing file '${MDFILE}' into '${TARGET}'"
pandoc -t revealjs -s --mathjax \
-o ${TARGET} ../slides/${MDFILE} \
-V revealjs-url=https://unpkg.com/reveal.js/ \
-V theme=${REVEAL_THEME} \
--include-in-header=../slides/dumux_course.css
done
cd ..
-
mkdir public && mv build/* public && cp -r slides/img public
artifacts
:
paths
:
-
public
only
:
-
master
-
feature/ci-slides-setup
Loading