diff --git a/.drone.yml b/.drone.yml index 9ce882d..89ac6a0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -58,6 +58,7 @@ steps: commands: - "git fetch origin +refs/heads/master" - "git checkout master" + - "rm -rf ./minecraft/mods" - "cp -r /out/client/* ." volumes: - name: "client" @@ -80,8 +81,36 @@ steps: files: "/out/curse/*-${DRONE_TAG}.zip" api_key: from_secret: "gitea_registry_password" - notes: > + note: > Modpack Server container image: `gitea.marquis.site/minecraft/atm8:${DRONE_TAG}` volumes: - name: "curse" path: "/out/curse" + +# - name: Send notification +# image: appleboy/drone-telegram +# environment: +# DRONE_TELEGRAM_TOKEN: +# from_secret: DRONE_TELEGRAM_TOKEN +# settings: +# token: 1942328463:AAHgHqwVFEluElKynjVfJpPPY9Hhs52LHKk +# to: -372192466 +# message: > +# 🤖 Build from {{datetime build.started "02-Jan-2006 15:04:05 CET" "Europe/Berlin" }} has finished + +# Repository: {{repo.name}} \[{{commit.branch}}] ({{since build.started}}) + +# {{#success build.status}} +# ✅ build {{build.number}} succeeded. Good job. +# {{else}} +# ❌ build {{build.number}} failed. Fix me please. + + +# Repository url: {{commit.link}} + +# Build results: {{build.link}} +# {{/success}} +# when: +# status: +# - success +# - failure