Skip to content

Commit

Permalink
Handles 'index' special case
Browse files Browse the repository at this point in the history
  • Loading branch information
paulochang committed Feb 22, 2024
1 parent 7e502bb commit 785a8a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push-permissions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 785a8a3

Please sign in to comment.