Skip to content

update Hugo to 0.128.1 #57

update Hugo to 0.128.1

update Hugo to 0.128.1 #57

Workflow file for this run

name: Build and deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: 'npm'
- name: Install NPM dependencies
run: npm ci
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.128.1'
extended: true
- name: Build
run: npm run build
- name: Deploy default site
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
external_repository: jfredrickson/ejeff-site-default
publish_dir: ./public/default
cname: ejeff.org
- name: Deploy retro site
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
personal_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
external_repository: jfredrickson/ejeff-site-retro
publish_dir: ./public/retro
cname: retro.ejeff.org