Skip to content

Commit

Permalink
Update notify_explorer.yml
Browse files Browse the repository at this point in the history
update testnet explorer
  • Loading branch information
h1sk1 authored Apr 24, 2024
1 parent 5adf1cb commit f14a647
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/notify_explorer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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_tokenlist.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_tokenlist.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
Expand Down

0 comments on commit f14a647

Please sign in to comment.