From 1b7f30e691b4ada86fa28e4a4efba3baea42cf09 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Tue, 14 Jan 2025 10:07:03 +1100 Subject: [PATCH] update when workflow runs --- .forgejo/workflows/forgejo-deb.yml | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/.forgejo/workflows/forgejo-deb.yml b/.forgejo/workflows/forgejo-deb.yml index c6ab0fc..075834b 100644 --- a/.forgejo/workflows/forgejo-deb.yml +++ b/.forgejo/workflows/forgejo-deb.yml @@ -1,19 +1,9 @@ -on: [push, pull_request] +on: + push: + tags: + - "v*" + jobs: - mirror: - runs-on: bookworm - if: github.event_name == 'push' && github.repository == 'forgejo-contrib/forgejo-deb' - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: "mirror repo: code.forgejo.org" - env: - FORGEJO_DEST: code.forgejo.org - FORGEJO_KEY: ${{ secrets.cfo_api_key }} - run: ./.action-forgejo-mirror.sh - build-forgejo-deb: runs-on: bullseye steps: