Skip to content

Test out workflows

Test out workflows #24

Workflow file for this run

name: Build
on:
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install and Build
run: |
npm install
npx honkit build
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: _book/**
- name: Save PR metadata
run: |
echo '{"pr_number": ${{ github.event.number }}}' > ./pr.json
- uses: actions/upload-artifact@v4
with:
name: pr.json
path: ./pr.json