Skip to content

update trqlt

update trqlt #33

Workflow file for this run

name: Pages
on:
push:
branches:
- main # default branch
jobs:
pages:
runs-on: ubuntu-22.04
permissions:
contents: write
container:
image: docker://hooozen/node-pandoc:latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache
restore-keys: |
${{ runner.OS }}-npm-cache
- name: Install Dependencies
run: npm install
- name: Build tranquility
run: npm run build-tranquility
- name: Clean config
run: rm -f db.json
- name: Build academic
run: npm run build-academic
- name: Set CNAME
run: cp source/CNAME public/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public