Skip to content

build: replace jekyll-action #271

build: replace jekyll-action

build: replace jekyll-action #271

Workflow file for this run

name: Build and Deploy
on:
push:
# NOTE:
# For a **project** site (username.github.io/project/), push things
# to the **master** branch and make sure to set the line below to
# ` - master`; also, at the end of the file, change to `BRANCH: gh-pages`
#
# For a **personal** site (username.github.io/), push things to a **dev**
# branch and make sure to set the line below to `- dev` this is
# because for user pages GitHub pages **requires** the deployment to be
# on the master branch; also, at the end of the file, change to
# `BRANCH: master`
branches:
- source
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v5
- uses: actions/jekyll-build-pages@v1
- uses: actions/upload-pages-artifact@v3
- uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master # The branch the action should deploy to.
FOLDER: _site # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch