diff --git a/.github/workflows/directory-listing.yml b/.github/workflows/directory-listing.yml index 64d879f..c061e9b 100644 --- a/.github/workflows/directory-listing.yml +++ b/.github/workflows/directory-listing.yml @@ -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/github-pages-directory-listing@v4.0.0 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: diff --git a/.github/workflows/generate-base-files-info-json.yml b/.github/workflows/generate-base-files-info-json.yml index 903997c..f335255 100644 --- a/.github/workflows/generate-base-files-info-json.yml +++ b/.github/workflows/generate-base-files-info-json.yml @@ -1,4 +1,4 @@ -name: Update base-files pacakge info +name: "Update base-files package info" # Trigger this workflow on a manual dispatch or a scheduled time on: workflow_dispatch: # Manually triggered via GitHub Actions UI