name: directory-listing on: push: branches: - main workflow_dispatch: # Give the workflow permission to read repo contents and publish to GitHub Pages permissions: contents: read pages: write id-token: write concurrency: group: "pages" cancel-in-progress: true jobs: pages-directory-listing: runs-on: ubuntu-latest name: Directory Listings Index steps: - name: Checkout Repository uses: actions/checkout@v4 with: lfs: true - 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@v3 with: path: '.' # upload generated folder deploy: needs: pages-directory-listing 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@v4 with: domain: dl.20.doume.be