From 64839789173ac91d6058822347a31d48232a5a93 Mon Sep 17 00:00:00 2001 From: B10P0K3 <44468142+h1sk1@users.noreply.github.com> Date: Tue, 28 Mar 2023 13:58:58 +0800 Subject: [PATCH] Update notify_explorer.yml --- .github/workflows/notify_explorer.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/notify_explorer.yml b/.github/workflows/notify_explorer.yml index 8d16ecb..c5bea5e 100644 --- a/.github/workflows/notify_explorer.yml +++ b/.github/workflows/notify_explorer.yml @@ -15,33 +15,33 @@ jobs: steps: - name: Call Mainnet Explorer API id: MainnetRequest - if: ${{ contains(github.event.head_commit.modified, "mainnet_colleciton_list.json") }} + if: ${{ contains(github.event.head_commit.modified, 'mainnet_colleciton_list.json') }} uses: fjogeleit/http-request-action@v1 with: url: 'https://{{ secrets.MAINNET_URL }}/api/v1' method: 'PATCH' customHeaders: '{"Content-Type": "application/json"}' - data: '{"apiKey": {{ secrets.MAINNET_APIKEY }}, "function": "updateLists"}' + data: '{"apiKey": "{{ secrets.MAINNET_APIKEY }}", "function": "updateLists"}' - name: Call Testnet Explorer API id: TestnetRequest - if: ${{ contains(github.event.head_commit.modified, "testnet_colleciton_list.json") }} + if: ${{ contains(github.event.head_commit.modified, 'testnet_colleciton_list.json') }} uses: fjogeleit/http-request-action@v1 with: url: 'https://{{ secrets.TESTNET_URL }}/api/v1' method: 'PATCH' customHeaders: '{"Content-Type": "application/json"}' - data: '{"apiKey": {{ secrets.TESTNET_APIKEY }}, "function": "updateLists"}' + data: '{"apiKey": "{{ secrets.TESTNET_APIKEY }}", "function": "updateLists"}' - name: Call Devnet Explorer API id: DevnetRequest - if: ${{ contains(github.event.head_commit.modified, "devnet_colleciton_list.json") }} + if: ${{ contains(github.event.head_commit.modified, 'devnet_colleciton_list.json') }} uses: fjogeleit/http-request-action@v1 with: url: 'https://{{ secrets.DEVNET_URL }}/api/v1' method: 'PATCH' customHeaders: '{"Content-Type": "application/json"}' - data: '{"apiKey": {{ secrets.DEVNET_APIKEY }}, "function": "updateLists"}' + data: '{"apiKey": "{{ secrets.DEVNET_APIKEY }}", "function": "updateLists"}' - name: Show responses run: |