Skip to content

add npm to ci workflow #159

add npm to ci workflow

add npm to ci workflow #159

Workflow file for this run

name: Zola on GitHub Pages
on:
push:
branches:
- main
jobs:
build:
name: Publish site
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
- name: Prerequisites
run: |
sudo apt install npm
npm ci
npm run post-update
- name: Build and deploy
uses: shalzz/zola-deploy-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_THEMES: false