Skip to content

Merge pull request #63 from MinoruSekine/fix/62/split_lint_job #32

Merge pull request #63 from MinoruSekine/fix/62/split_lint_job

Merge pull request #63 from MinoruSekine/fix/62/split_lint_job #32

Workflow file for this run

name: Deploy GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
upload_artifact:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install jsdoc
run: npm install
- name: Build site
run: |
make site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: ./out/site
deploy:
needs: upload_artifact
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.5