diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 4dd3154..60b59fc 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -26,5 +26,6 @@ jobs: if: startsWith(github.ref, 'refs/tags/') run: | docker run --rm \ - -e GITEA_TOKEN=${{ secrets.GITEA_TOKEN }} \ + -e GITEA_TOKEN=${{ secrets.RELEASE_TOKEN }} \ + -e RELEASE_TOKEN=${{ secrets.RELEASE_TOKEN }} \ gitnow-release release diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 204c8bf..2d032ff 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -53,7 +53,8 @@ homebrew_casks: repository: owner: kjuulh name: homebrew-tap - token: "{{ .Env.GITEA_TOKEN }}" + token: "{{ .Env.RELEASE_TOKEN }}" + token_type: "gitea" url: template: "https://git.kjuulh.io/kjuulh/gitnow/releases/download/{{ .Tag }}/{{ .ArtifactName }}" homepage: "https://gitnow-client.prod.kjuulh.app"