Mentions légales du service

Skip to content
Snippets Groups Projects
Commit caacf479 authored by POUILLOUX Laurent's avatar POUILLOUX Laurent
Browse files

[ci] wikigen: use diff for all branches and update for master

parent 3ef5574d
No related branches found
No related tags found
No related merge requests found
Pipeline #1123428 passed
......@@ -52,8 +52,9 @@ wikigen:
SITE: [grenoble, lille, luxembourg, lyon, nancy, nantes, rennes, sophia, strasbourg, toulouse]
DEBIAN_VERSION: [bookworm]
script:
- if [ "$CI_COMMIT_BRANCH" = "master" ]; then export ACTION="update"; else export ACTION="diff"; fi
- echo "$GRID5000_API" > "${HOME}/.grid5000_api.yml"
- bundle exec rake gen:wiki NAME=${GENERATOR} SITE=${SITE} DO=diff
- bundle exec rake gen:wiki NAME=${GENERATOR} SITE=${SITE} DO=${ACTION}
only:
refs:
- master
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment