Skip to content

feat: grammar checking #29

feat: grammar checking

feat: grammar checking #29

name: 🚀 Build and Deploy
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 📂 Checkout repository
uses: actions/checkout@v4
# Required for Puppeteer
- name: 🛡️ Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- name: 🚀 Install, build, and upload artifact
uses: withastro/action@v4
with:
node-version: 24
deploy:
if: github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: 🚀 Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4