Adjust placement of focus toggle #234
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: "Preview on auspice.us" | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- closed | |
jobs: | |
run: | |
# Run if PR has the label and is updated or is newly labeled with the label | |
if: | | |
(github.event.action != 'labeled' && contains(github.event.pull_request.labels.*.name, 'preview on auspice.us')) || | |
(github.event.action == 'labeled' && github.event.label.name == 'preview on auspice.us') | |
uses: ./.github/workflows/preview_on_downstream_repo.yaml | |
secrets: inherit | |
with: | |
repository: nextstrain/auspice.us | |
cleanup: ${{ github.event.action == 'closed' }} |