This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudstack-installer.git
commit e05bb6b987c53953b41b3311f24c55f71796d932 Author: Rohit Yadav <[email protected]> AuthorDate: Mon May 13 11:30:45 2024 +0000 .github: try pages directory listing Signed-off-by: Rohit Yadav <[email protected]> --- .github/workflows/workflow.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..3d2ab94 --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,40 @@ +name: directory-listing +on: [push] + +jobs: + pages-directory-listing: + runs-on: ubuntu-latest + name: Directory Listings Index + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + with: + ref: main + + - name: Generate Directory Listings + uses: jayanta525/[email protected] + with: + FOLDER: ./ + + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + with: + path: './' # 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 + + # Deploy to the github-pages environment + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + # Specify runner + deployment step + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1
