Skip to content

feat(blog): reader-note DataWeave highlighting + challenge #1/#2 comm… #6

feat(blog): reader-note DataWeave highlighting + challenge #1/#2 comm…

feat(blog): reader-note DataWeave highlighting + challenge #1/#2 comm… #6

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment, cancel in-progress runs on new pushes.
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install, build, and upload
uses: withastro/action@v4
# withastro/action runs `npm ci && npm run build` (which also runs
# `pagefind --site dist`) and uploads ./dist as the Pages artifact.
deploy:
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