Skip to content

Add Autocomplete playground tool to Astro/Vue frontend #9

Add Autocomplete playground tool to Astro/Vue frontend

Add Autocomplete playground tool to Astro/Vue frontend #9

Workflow file for this run

name: Deploy to GitHub Pages
on:
# New releases will cause the gh-pages branch to be updated.
release:
# TODO: Remove the pull_request trigger below before merging this PR
pull_request:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: web
- name: Build
run: npm run build
working-directory: web
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: web/dist
# force_orphan replaces the entire gh-pages branch on every deploy,
# ensuring no previously-deployed files are left behind.
force_orphan: true