elderscrolls-addon-achievem.../.drone.yml
Florian Brinker f349e971ba
All checks were successful
continuous-integration/drone/push Build is passing
Drone Releases
2019-10-23 10:24:54 +02:00

42 lines
786 B
YAML

---
kind: pipeline
name: default
clone:
disable: true
steps:
- name: clone
image: alpine/git
commands:
- git clone https://git.f-brinker.de/fbrinker/elderscrolls-addon-achievementInfo.git sources
- cd sources && git checkout $DRONE_COMMIT
when:
branch:
- drone-builds
- name: build
image: alpine
commands:
- apk update && apk add --no-cache zip
- rm -rf sources/.git
- mv sources AchievementInfo
- zip -r "AchievementInfo-$DRONE_TAG.zip" ./AchievementInfo
when:
branch:
- drone-builds
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.f-brinker.de
api_key:
from_secret: gitea_token
files: test.zip
draft: true
when:
branch:
- drone-builds
event:
- tag