From 2fd0cc7a2687201c8c9c1575972a52f68c0793e3 Mon Sep 17 00:00:00 2001 From: RokGrah <69851279+RokGrah@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:11:48 +0100 Subject: [PATCH] Update workflow_submit_model_forecasts.yml --- .github/workflows/workflow_submit_model_forecasts.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/workflow_submit_model_forecasts.yml b/.github/workflows/workflow_submit_model_forecasts.yml index 636f599..7ceaf8c 100644 --- a/.github/workflows/workflow_submit_model_forecasts.yml +++ b/.github/workflows/workflow_submit_model_forecasts.yml @@ -88,12 +88,4 @@ --body "This PR adds the ECDC forecasts to RespiCast repo." env: GH_TOKEN: ${{ secrets.Secret_PUSH_ACCESS_RespiCast }} - - # Step 8: Delete the new branch - - name: Delete the new branch - if: success() # Ensures this step runs only if all previous steps were successful - run: | - cd ./destination-repo - git branch -d add-results-RespiCast-SyndromicIndicators # Delete the local branch - git push https://x-access-token:${{ secrets.Secret_PUSH_ACCESS_RespiCast }}@github.com/european-modelling-hubs/RespiCast-SyndromicIndicators.git --delete add-results-RespiCast-SyndromicIndicators # Delete the remote branch - +