Skip to content
Snippets Groups Projects
Commit 9ddbfd49 authored by Simon Latapie's avatar Simon Latapie
Browse files

CI: use common/gitlab-ci.yml file

parent 8ca443c8
No related branches found
No related tags found
No related merge requests found
image: registry.videolan.org/videolan-gitlab-pages:20231201145306
variables:
GIT_STRATEGY: clone
ROOT_URL: https://docs.videolan.me/vlc-user
INSTALLDIR: public
GIT_BRANCH: $CI_COMMIT_BRANCH
# Create a global cache to keep other branch and jobs pages
cache:
key: one-cache-to-rule-them-all
paths:
- public
# generate platform websites
pages:
tags:
- pages
stage: deploy
script: |
if [ "$GIT_BRANCH" == "master" ]; then
make html VERSION="" PLATFORM=""
make root_redirect
make platform_redirect PLATFORM=desktop
make platform_redirect PLATFORM=android
make install
else
make html LANGUAGE=en
make install
fi
artifacts:
paths:
- public
only:
- desktop/3.0
- android/3.5
- master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment