From 15d1f2466887e2d8fe50511ffcbe9d9c0ce213f9 Mon Sep 17 00:00:00 2001 From: Jeff Mesnil Date: Wed, 6 Sep 2023 11:38:00 +0200 Subject: [PATCH] Update and rename jekyll-gh-pages.yml to gh-pages.yml --- .../{jekyll-gh-pages.yml => gh-pages.yml} | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) rename .github/workflows/{jekyll-gh-pages.yml => gh-pages.yml} (55%) diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/gh-pages.yml similarity index 55% rename from .github/workflows/jekyll-gh-pages.yml rename to .github/workflows/gh-pages.yml index 660504df..5d22a75e 100644 --- a/.github/workflows/jekyll-gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,6 +1,4 @@ -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll with GitHub Pages dependencies preinstalled - +name: Deploy with GitHub Pages on: # Runs on pushes targeting the default branch push: @@ -30,22 +28,7 @@ jobs: uses: actions/checkout@v3 - name: Setup Pages uses: actions/configure-pages@v3 - - name: Build with Jekyll - uses: actions/jekyll-build-pages@v1 + - name: Build with Asciidoctor + uses: manoelcampos/asciidoctor-ghpages-action@v2 with: - source: ./doc - destination: ./_site - - name: Upload artifact - uses: actions/upload-pages-artifact@v2 - - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + source_dir: ./doc