Skip to content

Commit

Permalink
Update build-and-push-assets.md
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Leucht <[email protected]>
  • Loading branch information
Chrico authored Oct 29, 2024
1 parent 02062d6 commit 6a49def
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/build-and-push-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ on:
tags: [ '*' ]
branches:
- '*'
- '!*-built'
- '!*-built' # exclude jobs.build-assets.with.BUILT_BRANCH_NAME

# Don't include paths if BUILT_BRANCH_NAME or RELEASE_BRANCH_NAME are defined
paths:
Expand All @@ -85,7 +85,6 @@ jobs:
uses: inpsyde/reusable-workflows/.github/workflows/build-and-push-assets.yml@main
with:
BUILT_BRANCH_NAME: ${{ github.ref_name }}-built # Optionally, to push compiled assets to built branch
RELEASE_BRANCH_NAME: release # Optionally, to move tags to release branch
secrets:
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
Expand Down Expand Up @@ -137,7 +136,10 @@ on:
workflow_dispatch:
push:
tags: [ '*' ]
branches: [ '*' ]
branches:
- '*'
- '!*-built' # exclude jobs.build-assets.with.BUILT_BRANCH_NAME
- '!release' # exclude jobs.build-assets.with.RELEASE_BRANCH_NAME
# Don't include paths if BUILT_BRANCH_NAME or RELEASE_BRANCH_NAME are defined
paths:
- '**workflows/build-and-push-assets.yml' # the workflow file itself
Expand Down

0 comments on commit 6a49def

Please sign in to comment.