Skip to content

Update deps

Update deps #7

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@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- 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@v2
with:
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2