Merge branch 'stable-1.5' into 'stable-1.5'

publish doxygen with Gitlab pages

See merge request etherlab.org/ethercat!42
This commit is contained in:
Florian Pose 2021-11-30 09:46:41 +00:00
commit 4dda8f4ae9
1 changed files with 15 additions and 0 deletions

View File

@ -10,6 +10,21 @@ build:
- make -j8 all modules
- make DISTCHECK_CONFIGURE_FLAGS="--with-linux-dir=/usr/src/linux-obj/$(uname -i)/default" distcheck
pages:
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == "stable-1.5"
script:
- ./bootstrap
- ./configure --with-linux-dir=/usr/src/linux-obj/$(uname -i)/default --disable-8139too --enable-tty --with-devices=2 --enable-ccat
- doxygen
- mkdir public
- echo "/ethercat /ethercat/v1 301" > public/_redirects
- mv doxygen-output/html/ public/v1/
artifacts:
paths:
- public/
# from 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml', but on all branches
workflow:
rules: