You've already forked armbian.github.io
mirror of
https://github.com/armbian/armbian.github.io.git
synced 2026-01-06 11:42:20 -08:00
Don't store index.html file into the repo, but generate before upload
This commit is contained in:
11
.github/workflows/directory-listing.yml
vendored
11
.github/workflows/directory-listing.yml
vendored
@@ -37,12 +37,6 @@ jobs:
|
||||
fetch-depth: 0
|
||||
path: main_wd
|
||||
|
||||
# Generate directory listing into data_wd/data
|
||||
- name: Generate Directory Listings
|
||||
uses: jayanta525/github-pages-directory-listing@v4.0.0
|
||||
with:
|
||||
FOLDER: data_wd/data
|
||||
|
||||
- name: Stage generated data + updated workflow
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -83,6 +77,11 @@ jobs:
|
||||
git branch -M data
|
||||
git push -f origin data
|
||||
|
||||
- name: Generate Directory Listings
|
||||
uses: jayanta525/github-pages-directory-listing@v4.0.0
|
||||
with:
|
||||
FOLDER: "data_wd/data"
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user