revert to older style tag capitalization #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |