chore(deps): update npm devdependencies (non-major) #479
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: Deploy to Sandbox | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- synchronize | |
- labeled | |
jobs: | |
deploy: | |
name: Deploy to Sandbox | |
concurrency: | |
group: sandbox | |
cancel-in-progress: true | |
if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'deploy-to-sandbox') }} | |
uses: ./.github/workflows/deploy.yml | |
with: | |
env: sandbox | |
# for workflow_dispatch: "branch-$name" or "tag-$name" | |
# for PRs with the deploy-to-sandbox tag: "pr-$number" | |
version-name: ${{ github.event_name == 'workflow_dispatch' && format('{0}-{1}', github.ref_type, github.ref_name) || '' }}${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || '' }} | |
secrets: inherit |