mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-14 03:35:52 +00:00
ci: trigger spice-space ci with every docs change
Trigger spice-space build if docs/ has changed and TOKEN is set This is not defined as deploy stage so it won't be depended on the other jobs Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
13de28fc27
commit
827cdae4de
@ -165,3 +165,18 @@ websocket-autobahn:
|
||||
- wstest -m fuzzingclient -s server/tests/fuzzingclient.json
|
||||
- kill $pid
|
||||
- server/tests/autobahn-check-report reports/servers/index.json
|
||||
|
||||
trigger-website-update:
|
||||
image: alpine:latest
|
||||
before_script:
|
||||
- apk add curl
|
||||
only:
|
||||
variables:
|
||||
- $TOKEN
|
||||
changes:
|
||||
- "docs/*.txt"
|
||||
- "docs/images/*"
|
||||
- "docs/manual/*.txt"
|
||||
- "docs/manual/images/*"
|
||||
script:
|
||||
- curl -X POST -F token=$TOKEN -F ref=master https://gitlab.freedesktop.org/api/v4/projects/spice%2Fspice-space/trigger/pipeline
|
||||
|
||||
Loading…
Reference in New Issue
Block a user