MarioDB/.woodpecker/build.yaml
Sebastian Ranoszek 3657176e2c
Some checks failed
ci/woodpecker/push/build Pipeline failed
Update
2025-04-04 16:28:32 +02:00

28 lines
851 B
YAML

steps:
# Step 1: Build the project
- name: Build
image: debian:stable-slim
commands:
- apt-get update
- apt-get install -y gcc
- 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}}