diff options
Diffstat (limited to '.github/workflows/nightly-build.yml')
-rw-r--r-- | .github/workflows/nightly-build.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 5c70dd08..05a75845 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -144,13 +144,6 @@ jobs: with: name: gitblit-nightly - # Delete the artifact unless this is the official Gitblit repo - - uses: geekyeggo/delete-artifact@v2 - if: ${{ github.repository != 'gitblit/gitblit' }} - with: - name: gitblit-nightly - failOnError: false - - name: Extract snapshot version id: gb-version run: | @@ -220,6 +213,13 @@ jobs: run: | dgoss run -p 8080:8080 -p 8443:8443 --tmpfs /var/opt/gitblit/temp gitblit/gitblit:nightly + # Delete the artifact unless this is the official Gitblit repo + - uses: geekyeggo/delete-artifact@v2 + if: ${{ github.repository != 'gitblit/gitblit' }} + with: + name: gitblit-nightly + failOnError: false + - name: Push docker image to registry uses: docker/build-push-action@v3 with: |