mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-28 09:40:07 +01:00
Gitlab CI: trigger the wayland web rebuild on pushes to master
This requires that WAYLAND_WEB_TOKEN is set up in the libinput settings on gitlab. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
74694ae8f8
commit
9e24e3f05e
1 changed files with 21 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ stages:
|
|||
- docker_check # check if the current docker images are up to date
|
||||
- docker_prep # rebuild the docker images if previous step failed
|
||||
- build # for actually building things
|
||||
- deploy # trigger wayland's website generation
|
||||
|
||||
variables:
|
||||
###############################################################################
|
||||
|
|
@ -631,3 +632,23 @@ ubuntu:18.04@default-build:
|
|||
arch:rolling@default-build:
|
||||
<<: *arch_template
|
||||
<<: *default_build
|
||||
|
||||
#
|
||||
# deploy
|
||||
#
|
||||
|
||||
wayland-web:
|
||||
image: registry.freedesktop.org/libinput/libinput/jq:latest
|
||||
stage: deploy
|
||||
script:
|
||||
- curl --request POST
|
||||
--form "token=$WAYLAND_WEB_TOKEN"
|
||||
--form ref=master
|
||||
https://gitlab.freedesktop.org/api/v4/projects/wayland${SLASH}wayland${DOT}freedesktop${DOT}org/trigger/pipeline
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
dependencies:
|
||||
variables:
|
||||
DOT: "%2E"
|
||||
SLASH: "%2F"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue