You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
GH Pages deploy
2.0.1
A GitHub Action to deploy a static site on GitHub Pages.
name: GitHub Pages deploy
on:
push:
branches:
- master
jobs:
checkout-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@master
env:
EMAIL: arnaud@ligny.org # must be a verified email
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }} # https://github.com/settings/tokens
BUILD_DIR: _site/ # "_site/" by default
CNAME: narno.com # in case of custom domain
JEKYLL_SITE: "YES" # only in case of a Jekyll site