Skip to content

Commit

Permalink
initial version permission push
Browse files Browse the repository at this point in the history
  • Loading branch information
nc-andreashaller committed Feb 19, 2024
1 parent c9ab28f commit 4917134
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push-permissions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
if: (github.event.client_payload.status == 200 || github.event.client_payload.status == 204) && endsWith(github.event.client_payload.path, '.md')
runs-on: ubuntu-latest
steps:
- name: Sleep for 90 seconds assuming query-index-search.json will be updated before
run: sleep 90s
shell: bash
# - name: Sleep for 90 seconds assuming query-index-search.json will be updated before
# run: sleep 90s
# shell: bash
- name: Remove .md extension
id: removeMd
uses: frabert/replace-string-action@v2
Expand All @@ -31,5 +31,5 @@ jobs:
id: findPageJson
run: |
echo ${{ steps.removeMd.outputs.replaced }}
page=$(curl https://main--envelop--netcentric.hlx.live/query-index.json | jq '.data.[] | select(.path=="${{ steps.removeMd.outputs.replaced }}")')
page=$(curl https://main--envelop--netcentric.hlx.live/query-index.json | jq '.data[] | select(.path=="${{ steps.removeMd.outputs.replaced }}")')
echo $page

0 comments on commit 4917134

Please sign in to comment.