Skip to content

Commit 806fcce

Browse files
authored
Update Hub Webpage And Data Dispatching Names (#1276)
* update dispatching * revert target data workflow
1 parent a2499f5 commit 806fcce

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/dispatch-ensemble-addition.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ name: "Send Dispatch for ensemble addition"
33
on:
44
workflow_dispatch:
55
push:
6-
branches:
6+
branches:
77
- main
88
paths:
99
- 'model-output/CovidHub-ensemble/*'
10-
10+
1111
jobs:
12-
dispatch-webpage-update:
12+
dispatch-internal-reports:
1313
if: ${{ github.repository_owner == 'CDCgov' }}
1414
runs-on: ubuntu-latest
1515
steps:
@@ -19,15 +19,15 @@ jobs:
1919
with:
2020
app-id: ${{ vars.ENT_GH_APP_ID }}
2121
private-key: ${{ secrets.ENT_GH_APP_KEY }}
22-
owner: cdcent
23-
repositories: cfa-forecast-hub-internal-reports
22+
owner: cdcent
23+
repositories: cfa-forecast-hub-internal-reports
2424

2525
- name: "Repository Dispatch"
2626
uses: peter-evans/repository-dispatch@v4
2727
with:
2828
token: ${{ steps.get_token_ent.outputs.token }}
2929
repository: cdcent/cfa-forecast-hub-internal-reports
30-
event-type: covid-ensemble-update
30+
event-type: covid-ensemble-added
3131

3232
dispatch-visualization-data:
3333
if: ${{ github.repository_owner == 'CDCgov' }}
@@ -47,4 +47,4 @@ jobs:
4747
with:
4848
token: ${{ steps.get_token_gov.outputs.token }}
4949
repository: CDCgov/cfa-forecast-hub-reports
50-
event-type: ensemble-updated
50+
event-type: covid-ensemble-added

.github/workflows/update-target-data.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ jobs:
7777
run: |
7878
gh pr create --base main --head update-covid19-target-data-${{ env.DATE }} --title "Update covid-19 target data" --body "This PR updates COVID-19 hospital admissions target data based on the latest released data."
7979
env:
80-
GH_TOKEN: ${{ steps.get_token.outputs.token }}
80+
GH_TOKEN: ${{ steps.get_token.outputs.token }}

0 commit comments

Comments
 (0)