diff --git a/.github/workflows/ping-api.yml b/.github/workflows/ping-api.yml index e0431107e6a..f290cf4bc1c 100644 --- a/.github/workflows/ping-api.yml +++ b/.github/workflows/ping-api.yml @@ -15,5 +15,8 @@ jobs: run: echo "::set-output name=name::$(basename $GITHUB_REPOSITORY)" - name: Ping API + env: + SECRET_KEY: ${{ secrets.SECRET_KEY }} # Set your secret in repository settings run: | - curl -X POST "https://api.devographics.com/gh/reinitialize-locales-github?locale=${{ steps.repo_name.outputs.name }}" + curl -X GET \ + "http://localhost:4020/gh-actions/reinitialize-locale?locale=${{ steps.repo_name.outputs.name }}&secretKey=$SECRET_KEY"