Skip to content

Commit

Permalink
Update and rename jekyll-gh-pages.yml to gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jmesnil committed Sep 6, 2023
1 parent 277a5c0 commit 15d1f24
Showing 1 changed file with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 15d1f24

Please sign in to comment.