diff --git a/.github/workflows/push-permissions.yaml b/.github/workflows/push-permissions.yaml index f5b829a..30ff51d 100644 --- a/.github/workflows/push-permissions.yaml +++ b/.github/workflows/push-permissions.yaml @@ -21,14 +21,14 @@ 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: -s - name: Sleep for 90 seconds assuming query-index-search.json will be updated before + - 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 with: - pattern: '\.md$' + pattern: '(index)?\.md$' string: ${{ github.event.client_payload.path }} replace-with: '' - name: Find page JSON