This commit is contained in:
parent
fe5d00730b
commit
a1fb290b9c
|
@ -1,8 +1,5 @@
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
project:
|
|
||||||
name: send2gokapi
|
|
||||||
|
|
||||||
builds:
|
builds:
|
||||||
- id: send2gokapi
|
- id: send2gokapi
|
||||||
goos: [linux, darwin]
|
goos: [linux, darwin]
|
||||||
|
@ -13,21 +10,24 @@ builds:
|
||||||
- CGO_ENABLED=0
|
- CGO_ENABLED=0
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- id: default
|
- ids: [send2gokapi]
|
||||||
builds: [send2gokapi]
|
formats: [tar.gz]
|
||||||
format: tar.gz
|
|
||||||
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
|
name_template: "{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}"
|
||||||
files:
|
files:
|
||||||
- LICENSE.txt
|
- LICENSE.txt
|
||||||
- README.md
|
- README.md
|
||||||
|
|
||||||
release:
|
release:
|
||||||
disable: true # We won't create GitHub/Gitea releases directly
|
gitea:
|
||||||
|
owner: user
|
||||||
blobs:
|
name: repo
|
||||||
- provider: generic
|
ids:
|
||||||
|
- default
|
||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz"
|
||||||
path: dist/*
|
mode: keep-existing
|
||||||
url_template: https://lmika.dev/api/packages/cmd/generic/{{ .ProjectName }}/{{ .Version }}/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.tar.gz
|
|
||||||
username: "${FORGEJO_USERNAME}"
|
|
||||||
password: "${FORGEJO_TOKEN}"
|
gitlab_urls:
|
||||||
|
api: https://lmika.dev/api/v4/
|
||||||
|
download: https://lmika.dev
|
||||||
|
use_job_token: true
|
Loading…
Reference in a new issue