2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Fix for stable branch push (#3619)

* Fix for stable branch push

* Ensure we don't update stable to an older release
This commit is contained in:
Oliver
2022-08-30 14:27:55 +10:00
committed by GitHub
parent 2392c8adee
commit c8e8991cf5
2 changed files with 18 additions and 7 deletions

View File

@ -105,10 +105,3 @@ jobs:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign ${{ steps.meta.outputs.tags }}@${{
steps.build-and-push.outputs.digest }}
- name: Push to Stable Branch
uses: ad-m/github-push-action@9a46ba8d86d3171233e861a4351b1278a2805c83 # pin@master
if: env.stable_release == 'true' && github.event_name != 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: stable
force: true