-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Benefits: 1. Ease of use - straight from the PR page 2. Workflow runs will show on the PR checks 3. PRs will reflect changes after merging with the base branch (opposed to changes on the head branch alone)
- Loading branch information
Showing
5 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Preview on auspice.us" | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
auspice-us: | ||
if: | | ||
github.event.label.name == 'preview on auspice.us' || | ||
contains( github.event.pull_request.labels.*.name, 'preview on auspice.us') | ||
uses: ./.github/workflows/preview_on_downstream_repo.yaml | ||
secrets: inherit | ||
with: | ||
repository: nextstrain/auspice.us |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "Preview on nextstrain.org" | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- labeled | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
auspice-us: | ||
if: | | ||
github.event.label.name == 'preview on nextstrain.org' || | ||
contains( github.event.pull_request.labels.*.name, 'preview on nextstrain.org') | ||
uses: ./.github/workflows/preview_on_downstream_repo.yaml | ||
secrets: inherit | ||
with: | ||
repository: nextstrain/nextstrain.org | ||
directory: auspice-client |
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