From 07b2da27e6c8086a17c71837bcec8d58b6053191 Mon Sep 17 00:00:00 2001 From: Agah Date: Thu, 12 Dec 2024 21:09:19 -0500 Subject: [PATCH] Update download.yml --- .github/workflows/download.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml index 3283423..6da59e7 100644 --- a/.github/workflows/download.yml +++ b/.github/workflows/download.yml @@ -64,14 +64,14 @@ jobs: echo "repository_url: ${{ env.repository_url }}" echo "external_repo: ${{ github.repository }}" - # - name: Cache Data - # if: steps.comment-download.outputs.proceed == 'true' - # run: | - # curl -X POST https://preview.neurolibre.org/api/data/cache \ - # -u "${{ secrets.PREVIEW_API_USERNAME }}:${{ secrets.PREVIEW_API_PASSWORD }}" \ - # -H "Content-Type: application/json" \ - # -d '{ - # "repository_url": "'${{ env.repository_url }}'", - # "id": "'${{ github.event.issue.number }}'", - # "external_repo": "'${{ github.repository }}'" - # }' + - name: Cache Data + if: steps.comment-download.outputs.proceed == 'true' + run: | + curl -X POST https://preview.neurolibre.org/api/data/cache \ + -u "${{ secrets.PREVIEW_API_USERNAME }}:${{ secrets.PREVIEW_API_PASSWORD }}" \ + -H "Content-Type: application/json" \ + -d '{ + "repository_url": "'${{ env.repository_url }}'", + "id": "'${{ github.event.issue.number }}'", + "external_repo": "'${{ github.repository }}'" + }'