File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
- name : directory- listing
2
- on :
1
+ name : " Generate directory listing"
2
+ on :
3
3
push :
4
+ branches :
5
+ - main
4
6
workflow_dispatch :
5
7
6
8
jobs :
7
9
pages-directory-listing :
8
10
runs-on : ubuntu-latest
9
- name : Directory Listings Index
11
+ name : " Directory Listings Index"
10
12
steps :
11
13
- name : Checkout Repository
12
14
uses : actions/checkout@v4
13
15
with :
14
- ref : www # checkout different branch
16
+ ref : data # branch where we push data to
15
17
16
18
- name : Generate Directory Listings
17
19
uses :
jayanta525/[email protected]
18
20
with :
19
- FOLDER : data # directory to generate index
21
+ FOLDER : data # directory to generate index
20
22
21
23
- name : Upload artifact
22
24
uses : actions/upload-pages-artifact@v3
23
25
with :
24
26
path : ' data' # upload generated folder
25
-
27
+
26
28
deploy :
27
29
needs : pages-directory-listing
28
30
permissions :
Original file line number Diff line number Diff line change 1
- name : Update base-files pacakge info
1
+ name : " Update base-files package info"
2
2
# Trigger this workflow on a manual dispatch or a scheduled time
3
3
on :
4
4
workflow_dispatch : # Manually triggered via GitHub Actions UI
You can’t perform that action at this time.
0 commit comments