mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 11:20:11 -05:00
Fri Sep 15 12:54:10 PM CEST 2023
This commit is contained in:
parent
704a5466f8
commit
cecea52957
1 changed files with 30 additions and 23 deletions
|
@ -24,20 +24,25 @@ steps:
|
||||||
|
|
||||||
- make all
|
- make all
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# uploading to storage.ci.librewolf.net
|
# uploading to storage.ci.librewolf.net
|
||||||
|
|
||||||
upload:
|
# upload:
|
||||||
image: woodpeckerci/plugin-s3
|
# image: woodpeckerci/plugin-s3
|
||||||
when:
|
# when:
|
||||||
- branch: main
|
# - branch: main
|
||||||
settings:
|
# settings:
|
||||||
bucket: artifacts
|
# bucket: artifacts
|
||||||
source: "*.{tar.gz,sha256sum}"
|
# source: "*.{tar.gz,sha256sum}"
|
||||||
target: /${CI_BUILD_NUMBER}
|
# target: /${CI_BUILD_NUMBER}
|
||||||
path_style: true
|
# path_style: true
|
||||||
endpoint: https://storage.ci.librewolf.net
|
# endpoint: https://storage.ci.librewolf.net
|
||||||
|
#
|
||||||
|
# secrets: [aws_access_key_id, aws_secret_access_key]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
secrets: [aws_access_key_id, aws_secret_access_key]
|
|
||||||
|
|
||||||
# display-links:
|
# display-links:
|
||||||
# image: alpine
|
# image: alpine
|
||||||
|
@ -47,17 +52,19 @@ steps:
|
||||||
# - echo "https://storage.ci.librewolf.net/artifacts/${CI_BUILD_NUMBER}/librewolf-$(cat version)-$(cat release).source.tar.gz"
|
# - echo "https://storage.ci.librewolf.net/artifacts/${CI_BUILD_NUMBER}/librewolf-$(cat version)-$(cat release).source.tar.gz"
|
||||||
# - echo "https://storage.ci.librewolf.net/artifacts/${CI_BUILD_NUMBER}/librewolf-$(cat version)-$(cat release).source.tar.gz.sha256sum"
|
# - echo "https://storage.ci.librewolf.net/artifacts/${CI_BUILD_NUMBER}/librewolf-$(cat version)-$(cat release).source.tar.gz.sha256sum"
|
||||||
|
|
||||||
|
|
||||||
# my ts+axios api stuff to make the codeberg release
|
# my ts+axios api stuff to make the codeberg release
|
||||||
|
|
||||||
release:
|
|
||||||
image: alpine
|
|
||||||
when:
|
|
||||||
- branch: main
|
|
||||||
commands:
|
|
||||||
- apk update -U
|
|
||||||
- apk add nodejs npm
|
|
||||||
|
|
||||||
- ( cd .woodpecker.release && npm install && npm run build )
|
# release:
|
||||||
- ( cd .woodpecker.release && npm run start $(cat ../version)-$(cat ../release) ${CI_BUILD_NUMBER} )
|
# image: alpine
|
||||||
|
# when:
|
||||||
secrets: [ cb_api_key ]
|
# - branch: main
|
||||||
|
# commands:
|
||||||
|
# - apk update -U
|
||||||
|
# - apk add nodejs npm
|
||||||
|
#
|
||||||
|
# - ( cd .woodpecker.release && npm install && npm run build )
|
||||||
|
# - ( cd .woodpecker.release && npm run start $(cat ../version)-$(cat ../release) ${CI_BUILD_NUMBER} )
|
||||||
|
#
|
||||||
|
# secrets: [ cb_api_key ]
|
||||||
|
|
Loading…
Reference in a new issue