Skip to content

Fix build.rs

Fix build.rs #39

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Shun Sakai
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
name: Deployment
on:
push:
branches:
- "develop"
tags:
- "*-v[0-9]+.[0-9]+.[0-9]+"
permissions:
contents: write
jobs:
deploy:
name: Deploy
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: "npm"
- name: Install dependencies
run: |
npm ci
npx antora -v
- name: Setup just
uses: extractions/setup-just@v1
- name: Build a book
run: just build-book
- name: Deploy
uses: peaceiris/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build/site