release added to drone
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -8,4 +8,20 @@ steps:
|
||||
- cd TOOHUCardAPI
|
||||
- dotnet restore TOOHUCardAPI.csproj
|
||||
- mkdir build
|
||||
- mkdir publish
|
||||
- mkdir dist
|
||||
- dotnet build TOOHUCardAPI.csproj -c Release -o build
|
||||
- dotnet publish TOOHUCardAPI.csproj -c Release -o publish
|
||||
- tar -czvf dist/TOOHUCardAPI.tar.gz publish/*
|
||||
|
||||
|
||||
|
||||
- name: gitea_release
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key: 7337ccbb62d765fedea5d8a5c0f35ada9f451363
|
||||
base_url: https://git.orfl.xyz
|
||||
files:
|
||||
- dist/*
|
||||
when:
|
||||
event: tag
|
||||
Reference in New Issue
Block a user