Don't store index.html file into the repo, but generate before upload

This commit is contained in:
Igor Pecovnik
2025-12-21 23:10:08 +01:00
committed by Igor
parent aafeb97e91
commit 037571bcb0

View File

@@ -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: