Skip to content

Add metadata to collection pages (#361) #53

Add metadata to collection pages (#361)

Add metadata to collection pages (#361) #53

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
workflow_call:
jobs:
test:
uses: "OpenTermsArchive/opentermsarchive.org/.github/workflows/test.yml@main"
deploy:
needs: [ test ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Set Hugo up
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.127.0'
extended: true # Prevent error building site: POSTCSS: failed to transform, see https://gohugo.io/troubleshooting/faq/#i-get-this-feature-is-not-available-in-your-current-hugo-version
- name: Build with Hugo
run: npm run build
- name: Deploy ./public directory to the remote gh-pages branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: opentermsarchive.org