1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 03:38:26 -04:00
jarv.is/.github/workflows/gh-pages.yml

30 lines
823 B
YAML

name: GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
lfs: false
# pull from custom Hugo Extended image with opinionated changes
# Docker hub: https://hub.docker.com/r/jakejarvis/hugo-jarv.is
# base Dockerfile source: https://go.jarv.is/30KA6DS
- uses: docker://jakejarvis/hugo-jarv.is:v0.53-DEV
with:
args: --gc --cleanDestinationDir
- uses: jakejarvis/github-pages-deploy-action@master
env:
PAGES_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
PAGES_CNAME: 'jarv.is'
PAGES_SOURCE_FOLDER: 'public'
PAGES_SOURCE_BRANCH: 'master'
PAGES_TARGET_BRANCH: 'master'
PAGES_TARGET_REPO: 'jakejarvis.github.io'