Skip to content

Commit

Permalink
Update download.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
agahkarakuzu authored Dec 13, 2024
1 parent 0c91fcf commit 07b2da2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}'"
}'

0 comments on commit 07b2da2

Please sign in to comment.