Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-and-push-assets.md - fix basic usage #168

Merged
merged 2 commits into from
Oct 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading