diff --git a/.github/workflows/submit-flu-forecasts.yaml b/.github/workflows/submit-flu-forecasts.yaml index 053cd93..78c9623 100644 --- a/.github/workflows/submit-flu-forecasts.yaml +++ b/.github/workflows/submit-flu-forecasts.yaml @@ -74,6 +74,9 @@ jobs: else git commit -m "Update flu forecasts $(date +%Y-%m-%d)" + # Set the remote URL with authentication token + git remote set-url origin "https://${{ secrets.PRIVATE_ACCESS_TOKEN }}@github.com/${{ github.actor }}/FluSight-forecast-hub.git" + # Push to fork git push origin $BRANCH_NAME