Skip to content

#45 Enhance business logic and milestone 0.3.0 goal (#46) #38

#45 Enhance business logic and milestone 0.3.0 goal (#46)

#45 Enhance business logic and milestone 0.3.0 goal (#46) #38

Workflow file for this run

# SPDX-FileCopyrightText: © 2023 Jinwoo Park ([email protected])
#
# SPDX-License-Identifier: CC0-1.0
name: github pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
permissions:
contents: read
pages: write
id-token: write
jobs:
# Build job
build:
runs-on: ubuntu-20.04
# env:
# MDBOOK_VERSION: 0.4.21
steps:
- uses: actions/checkout@v3
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with mdBook
run: mdbook build book
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./book/book
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2