Compare commits
2 Commits
aa44f0550d
...
1826b9bc58
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1826b9bc58 | ||
![]() |
90a2769fb7 |
@ -19,9 +19,8 @@ jobs:
|
||||
- name: Publish to git.jessebrault.com
|
||||
run: ./gradlew publishAllPublicationsToGiteaRepository
|
||||
- name: Release to git.jessebrault.com
|
||||
uses: https://gitea.com/actions/release-action@main
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: |-
|
||||
cli/build/distributions/*.tar
|
||||
cli/build/distributions/*.zip
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
@ -1,6 +1,6 @@
|
||||
plugins {
|
||||
id 'com.jessebrault.jbarchiva'
|
||||
id 'java'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group 'com.jessebrault.ssg'
|
||||
@ -47,3 +47,21 @@ testing {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = 'Gitea'
|
||||
url = uri('https://git.jessebrault.com/api/packages/jessebrault/maven')
|
||||
|
||||
credentials(HttpHeaderCredentials) {
|
||||
name = "Authorization"
|
||||
value = "token ${System.getenv("GITEA_ACCESS_TOKEN")}"
|
||||
}
|
||||
|
||||
authentication {
|
||||
header(HttpHeaderAuthentication)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user