MarioDB/.woodpecker/build.yaml
Sebastian Ranoszek d5b9690e33
Some checks failed
ci/woodpecker/push/build Pipeline failed
update
2025-04-04 16:33:05 +02:00

27 lines
825 B
YAML

steps:
# Step 1: Build the project
- name: Build
image: alpine
commands:
- apk add --no-cache g++ libc-dev
- mkdir build
- echo "Building project..."
- g++ -o build/main main.cpp
- name: discord notification
image: appleboy/drone-discord
settings:
webhook_id: 1357683988373704824
webhook_token: wtAZM1Ps4upFV0Z5_HJKzWkJ19-lj0tagEwPofOJN4O3OHuET309RTkKQgakDWVrl0Ml
message: >
Repository {{repo.name}}
Owner {{repo.owner}}
Build Message {{build.message}}
Commiter: {{build.author}}
{{#success build.status}}
build {{build.number}} succeeded. Good job.
{{datetime build.started}}
{{else}}
build {{build.number}} failed. Fix me please.
{{datetime build.started}}
{{/success}}