2 Commits

Author SHA1 Message Date
3f46369022 removed api key from drone yml whoopsie, issued new one and secreted
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-02-03 09:07:15 -05:00
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,26 @@ name: default
steps: steps:
- name: build - name: build
image: mcr.microsoft.com/dotnet/sdk:5.0 image: mcr.microsoft.com/dotnet/sdk:5.0
volumes:
- name: dist
path: /dist
commands: commands:
- cd TOOHUCardAPI - cd TOOHUCardAPI
- dotnet restore TOOHUCardAPI.csproj - dotnet restore TOOHUCardAPI.csproj
- mkdir build - mkdir build
- mkdir publish - mkdir publish
- mkdir dist
- dotnet build TOOHUCardAPI.csproj -c Release -o build - dotnet build TOOHUCardAPI.csproj -c Release -o build
- dotnet publish TOOHUCardAPI.csproj -c Release -o publish - 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 - name: gitea_release
image: plugins/gitea-release image: plugins/gitea-release
volumes:
- name: dist
path: /dist
settings: settings:
api_key: 7337ccbb62d765fedea5d8a5c0f35ada9f451363 api_key:
from_secret: gitea-api-key
base_url: https://git.orfl.xyz base_url: https://git.orfl.xyz
files: files:
- /dist/* - TOOHUCardAPI/dist/*
when: when:
event: tag event: tag
volumes:
- name: dist
temp: {}