Skip to content

Fixed typo.

Fixed typo. #20

Workflow file for this run

name: Build and Publish
permissions:
contents: read
pages: write
id-token: write
on:
push:
branches:
- main
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm install
- name: Convert Markdown to HTML
run: npm run md2html
- name: Generate static site
env:
NOJS: 1
run: npm run build:ssg
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4