grissius/protocat

View on GitHub
.github/workflows/pages-publish.yml

Summary

Maintainability
Test Coverage
# https://github.com/marketplace/actions/deploy-to-github-pages

name: GitHub Pages
on: [push]
jobs:
  build:
    concurrency: ci-${{ github.ref }}
    runs-on: ubuntu-latest
    steps:
      - name: Checkout 🛎️
        uses: actions/checkout@v3

      - name: Install and Build 🔧
        run: |
          npm i
          npm run docs

      - name: Deploy 🚀
        uses: JamesIves/github-pages-deploy-action@v4.3.3
        with:
          branch: gh-pages
          folder: ./website/build