steps: - name: Build image: alpine commands: - apk add --no-cache g++ libc-dev - mkdir -p build - echo "Building project..." - g++ -static -o build/main main.cpp - name: discord notification image: appleboy/drone-discord settings: webhook_id: 1357683988373704824 webhook_token: wtAZM1Ps4upFV0Z5_HJKzWkJ19-lj0tagEwPofOJN4O3OHuET309RTkKQgakDWVrl0Ml message: > {{#success build.status}} build {{build.number}} succeeded. Good job. {{else}} build {{build.number}} failed. Fix me please. {{/success}} depends_on: - Build - name: Find-Build image: alpine commands: - ls -al build depends_on: - Build when: event: tag - name: Release image: plugins/gitea-release settings: api_key: from_secret: FORGEJO_TOKEN base_url: https://git.xyro.win repo_owner: nyosic repo_name: MarioDB files: build/main depends_on: - Find-Build when: event: tag