32 lines
737 B
YAML
32 lines
737 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: discord-changelog
|
|
|
|
clone:
|
|
depth: 0
|
|
|
|
steps:
|
|
- name: test-changelog
|
|
image: python:3.13-alpine
|
|
commands:
|
|
- apk add --no-cache git
|
|
- python tools/build_admin_menu.py --check
|
|
- python -m unittest discover -s tests -p test_admin_menu_sources.py
|
|
- python -m unittest discover -s tests -p test_discord_changelog_ci.py
|
|
- python -m unittest discover -s tests -p test_workshop_changelog.py
|
|
|
|
- name: notify-discord
|
|
image: python:3.13-alpine
|
|
environment:
|
|
DISCORD_WEBHOOK_URL:
|
|
from_secret: discord_webhook_url
|
|
commands:
|
|
- apk add --no-cache git
|
|
- python tools/discord_changelog_ci.py
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
event:
|
|
- push
|