Skip to content

Commit dd5c861

Browse files
committed
Execute directory regenerate at the end
1 parent 06768cc commit dd5c861

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/directory-listing.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: "Generate directory listing"
22
on:
3-
push:
3+
repository_dispatch:
4+
types: ["Generate directory"]
45
workflow_dispatch:
56

67
jobs:
78
pages-directory-listing:
8-
if: github.ref == 'refs/heads/data'
99
runs-on: ubuntu-24.04
1010
name: "Directory Listings Index"
1111
steps:
@@ -25,7 +25,6 @@ jobs:
2525
path: 'data' # upload generated folder
2626

2727
deploy:
28-
if: github.ref == 'refs/heads/data'
2928
needs: pages-directory-listing
3029
permissions:
3130
pages: write # to deploy to Pages

.github/workflows/generate-jira-excerpt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ jobs:
4747
uses: peter-evans/repository-dispatch@v3
4848
with:
4949
token: ${{ secrets.GITHUB_TOKEN }}
50-
event-type: "Base files"
50+
event-type: "Generate directory"

0 commit comments

Comments
 (0)