Skip to content

Add context.codeblock config to speical enable / disable in codeblo… #11

Add context.codeblock config to speical enable / disable in codeblo…

Add context.codeblock config to speical enable / disable in codeblo… #11

on:
push:
branches:
- main
- release-website
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install
run: bun install
- name: Build
working-directory: autocorrect-website
run: |
bun run build
cp dist/index.html dist/404.html
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: "autocorrect-website/dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2