Skip to content

Commit

Permalink
Create jekyll-build-pages.yml
Browse files Browse the repository at this point in the history
Uses suggested improved actions script
  • Loading branch information
ShaneCurcuru committed May 23, 2023
1 parent b51c2b5 commit ea16b7f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/jekyll-build-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# From https://github.com/actions/jekyll-build-pages
name: Build And Deploy Jekyll to Pages
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build
uses: actions/jekyll-build-pages@v1.0.7
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit ea16b7f

Please sign in to comment.