Skip to content

update workflows

update workflows #5

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://pandoc/latex

Check failure on line 15 in .github/workflows/pages.yml

View workflow run for this annotation

GitHub Actions / Pages

Invalid workflow file

The workflow is not valid. .github/workflows/pages.yml (Line: 15, Col: 9): A sequence was not expected
- image: docker://node:18
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: "16"
- 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: Build academic
run: npm run build-academic
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public