Fixed mod duplication in repository
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
31
.drone.yml
31
.drone.yml
@@ -58,6 +58,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- "git fetch origin +refs/heads/master"
|
- "git fetch origin +refs/heads/master"
|
||||||
- "git checkout master"
|
- "git checkout master"
|
||||||
|
- "rm -rf ./minecraft/mods"
|
||||||
- "cp -r /out/client/* ."
|
- "cp -r /out/client/* ."
|
||||||
volumes:
|
volumes:
|
||||||
- name: "client"
|
- name: "client"
|
||||||
@@ -80,8 +81,36 @@ steps:
|
|||||||
files: "/out/curse/*-${DRONE_TAG}.zip"
|
files: "/out/curse/*-${DRONE_TAG}.zip"
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: "gitea_registry_password"
|
from_secret: "gitea_registry_password"
|
||||||
notes: >
|
note: >
|
||||||
Modpack Server container image: `gitea.marquis.site/minecraft/atm8:${DRONE_TAG}`
|
Modpack Server container image: `gitea.marquis.site/minecraft/atm8:${DRONE_TAG}`
|
||||||
volumes:
|
volumes:
|
||||||
- name: "curse"
|
- name: "curse"
|
||||||
path: "/out/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
|
||||||
|
|||||||
Reference in New Issue
Block a user