Skip to content

fix: make pre-commit hooks pass for global image prefix overrides and rewrite small parts of the introduction #74

fix: make pre-commit hooks pass for global image prefix overrides and rewrite small parts of the introduction

fix: make pre-commit hooks pass for global image prefix overrides and rewrite small parts of the introduction #74

Workflow file for this run

name: github pages
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- name: Build
run: npm run build
- name: Install Netlify CLI
run: npm install -g netlify-cli
- name: Deploy
if: github.ref == 'refs/heads/main'
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
run: netlify deploy --no-build --prod --dir=./public