1 Commits

Author SHA1 Message Date
593293a69a probably didnt need the volume
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-02-03 01:26:16 -05:00

View File

@@ -4,33 +4,25 @@ name: default
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:5.0
volumes:
- name: dist
path: /dist
commands:
- 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/*
- tar -czvf dist/TOOHUCardAPI.tar.gz publish/*
- name: gitea_release
image: plugins/gitea-release
volumes:
- name: dist
path: /dist
settings:
api_key: 7337ccbb62d765fedea5d8a5c0f35ada9f451363
base_url: https://git.orfl.xyz
files:
- /dist/*
- TOOHUCardAPI/dist/*
when:
event: tag
volumes:
- name: dist
temp: {}