diff --git a/.github/workflows/notify_explorer.yml b/.github/workflows/notify_explorer.yml index 90bc463..aa5c15b 100644 --- a/.github/workflows/notify_explorer.yml +++ b/.github/workflows/notify_explorer.yml @@ -33,18 +33,17 @@ jobs: # Wait for 15s for explorer to update it's lists timeout: 15000 - # Testnet Explorer is not deployed yet -# - name: Call Testnet Explorer API -# id: TestnetRequest -# if: contains(steps.changed-files.outputs.modified_files, 'testnet_collection_list.json') -# uses: fjogeleit/http-request-action@v1 -# with: -# url: 'https://${{ secrets.TESTNET_URL }}/api/v1/apikey' -# method: 'PATCH' -# customHeaders: '{"Content-Type": "application/json"}' -# data: '{"apiKey": "${{ secrets.TESTNET_APIKEY }}", "function": "updateLists"}' -# # Wait for 15s for explorer to update it's lists -# timeout: 15000 + - name: Call Testnet Explorer API + id: TestnetRequest + if: contains(steps.changed-files.outputs.modified_files, 'testnet_collection_list.json') + uses: fjogeleit/http-request-action@v1 + with: + url: 'https://${{ secrets.TESTNET_URL }}/api/v1/apikey' + method: 'PATCH' + customHeaders: '{"Content-Type": "application/json"}' + data: '{"apiKey": "${{ secrets.TESTNET_APIKEY }}", "function": "updateLists"}' + # Wait for 15s for explorer to update it's lists + timeout: 15000 - name: Call Devnet Explorer API id: DevnetRequest