diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2021-11-14 12:03:46 +0100 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-02-06 15:05:17 +0100 |
commit | 3674b7b2de3eeadea23c3d0b53cb3cc8452d7578 (patch) | |
tree | f285658158e6440fc5d1c6ebdb85fb6bc2ef481d | |
parent | f7dec3dc594b819a7e9612150c67e31b1262abfe (diff) | |
download | gitblit-3674b7b2de3eeadea23c3d0b53cb3cc8452d7578.tar.gz gitblit-3674b7b2de3eeadea23c3d0b53cb3cc8452d7578.zip |
ci: Allow to force build a nightly version
Enable a switch for manual workflow triggering that overrides the check
if a new commits were made since the last build. If the input is set to
'true', a new build is run even when no new commits are present.
This is mainly so that changes to the gitblit-docker repo can be included
in builds. This could also be automated in the workflow, if need be.
-rw-r--r-- | .github/workflows/nightly-build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 40995342..ff6f4b8c 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -63,7 +63,7 @@ jobs: name: build GO runs-on: ubuntu-latest needs: check_commits - if: ${{ needs.check_commits.outputs.build == 'true' }} + if: ${{ needs.check_commits.outputs.build == 'true' || github.event.inputs.forced == 'true' }} steps: |