From ca4f77212b91116490be667d99ef29127565f22f Mon Sep 17 00:00:00 2001 From: nikosbosse Date: Wed, 27 Nov 2024 08:03:02 +0100 Subject: [PATCH] fix authentification --- .github/workflows/submit-flu-forecasts.yaml | 3 +++ 1 file changed, 3 insertions(+) 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