From 174cf2069200ed67b2b79309105f89bfb1dfd09d Mon Sep 17 00:00:00 2001 From: Nicola Zangrandi Date: Wed, 5 Feb 2025 11:39:35 +0100 Subject: [PATCH] fix(ci): updated secrets --- .forgejo/workflows/build.yml | 6 +++++- .forgejo/workflows/release.yml | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index f0b3e47..969493c 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -1,4 +1,8 @@ -on: [push] +on: + push: + branches: + - main + jobs: build: runs-on: ubuntu-latest diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 36f3a10..6aef931 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -1,6 +1,7 @@ on: push: - tags: 'v*' + tags: + - 'v*' jobs: publish: @@ -48,7 +49,7 @@ jobs: tag: "${{ github.ref_name }}" sha: "${{ github.sha }}" release-dir: /workdir/release - token: ${{ github.token }} + token: ${{ secrets.FJ_REGISTRY_TOKEN }} override: ${{ vars.OVERRIDE || "false" }} verbose: ${{ vars.VERBOSE || "false" }} hide-archive-link: true