21 lines
616 B
YAML
21 lines
616 B
YAML
pipeline:
|
|
trigger-elixir-sync:
|
|
image: curlimages/curl
|
|
secrets: [ elixir_webhook_url, elixir_webhook_token ]
|
|
commands:
|
|
- >
|
|
curl -X POST
|
|
-H "Content-Type: application/json"
|
|
-H "X-Webhook-Token: $ELIXIR_WEBHOOK_TOKEN"
|
|
-d '{"repo": "universalisos"}'
|
|
$ELIXIR_WEBHOOK_URL/hooks/reindex-repo
|
|
build-docs:
|
|
image: sphinxdoc/sphinx:latest
|
|
commands:
|
|
- apt-get update && apt-get install -y doxygen
|
|
- pip install breathe sphinx_rtd_theme
|
|
- cd kernel/docs
|
|
- doxygen Doxyfile
|
|
- sphinx-build -b html . _build/html
|
|
when:
|
|
event: tag
|