Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Update listing.yml

Update listing.yml #3

Workflow file for this run

name: directory-listing
on: [push]
jobs:
pages-directory-listing:
runs-on: ubuntu-latest
name: Directory Listings Index
steps:
- name: Generate Directory Listings
uses: jayanta525/github-pages-directory-listing@v4.0.0
with:
FOLDER: ./ #directory to generate index
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'data' # upload generated folder
deploy:
needs: pages-directory-listing
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1