Skip to content

Commit

Permalink
Update build-and-push-assets.md - fix basic usage (#168)
Browse files Browse the repository at this point in the history
* Update build-and-push-assets.md

Signed-off-by: Christian Leucht <c.leucht@inpsyde.com>

* Update build-and-push-assets.md

Signed-off-by: Christian Leucht <c.leucht@inpsyde.com>

---------

Signed-off-by: Christian Leucht <c.leucht@inpsyde.com>
  • Loading branch information
Chrico authored Oct 29, 2024
1 parent 4001c94 commit 43e3e34
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/build-and-push-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ on:
workflow_dispatch:
push:
tags: [ '*' ]
branches: [ '*' ]
branches:
- '*'
- '!*-built' # exclude jobs.build-assets.with.BUILT_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 All @@ -82,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 @@ -134,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 43e3e34

Please sign in to comment.