Skip to content

fix: specify --base option (#9) #4

fix: specify --base option (#9)

fix: specify --base option (#9) #4

Workflow file for this run

name: Deploy example page
on:
push:
branches:
- main
jobs:
deploy:
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Build example page
run: |
npm install
npm run build --workspace=example
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "example/dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4