-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26e9497
commit c67d51c
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
name: directory-listing | ||
on: | ||
name: "Generate directory listing" | ||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pages-directory-listing: | ||
runs-on: ubuntu-latest | ||
name: Directory Listings Index | ||
name: "Directory Listings Index" | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: www #checkout different branch | ||
ref: data # branch where we push data to | ||
|
||
- name: Generate Directory Listings | ||
uses: jayanta525/[email protected] | ||
with: | ||
FOLDER: data #directory to generate index | ||
FOLDER: data # directory to generate index | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: 'data' # upload generated folder | ||
|
||
deploy: | ||
needs: pages-directory-listing | ||
permissions: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters