Merge feat/site into main #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Workflow | |
on: | |
workflow_dispatch: | |
workflow_call: # may be called by the Test workflow | |
secrets: | |
SEMANTIC_RELEASE_TOKEN: { required: true } | |
pull_request: | |
types: [closed] | |
branches: [main, next] | |
paths: ["src/**/*", "package*.json"] | |
jobs: | |
release: | |
name: Release | |
if: | # If event is a closed PR, only run if PR was merged | |
startsWith(github.event_name, 'workflow') || | |
github.event.pull_request.merged == true | |
uses: Nerdware-LLC/reusable-action-workflows/.github/workflows/release.yaml@main | |
secrets: | |
SEMANTIC_RELEASE_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }} |