Skip to content

Commit

Permalink
Merge branch 'main' into 281-additional-edits-to-webtext-flag-for-rep…
Browse files Browse the repository at this point in the history
…orting-rate
  • Loading branch information
sbidari authored Jan 22, 2025
2 parents 6a7ae27 + 2b8f7bb commit 1afb307
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 61 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/dispatch-covidhub-reports.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Send a dispatch to covidhub-reports

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'model-output/CovidHub-ensemble/*'

jobs:
update-visualization-data:
if: ${{ github.repository_owner == 'CDCgov' }}
runs-on: ubuntu-22.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v4
with:
application_id: ${{ vars.GH_APP_ID }}
application_private_key: ${{ secrets.GH_APP_KEY }}

- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ steps.get_workflow_token.outputs.token }}
repository: CDCgov/covidhub-reports
event-type: ensemble-added
61 changes: 0 additions & 61 deletions .github/workflows/generate-forecast-visualization-data.yaml

This file was deleted.

0 comments on commit 1afb307

Please sign in to comment.