Skip to content

chore: update links, remove sonar-project #5

chore: update links, remove sonar-project

chore: update links, remove sonar-project #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
paths:
- 'src/**'
- 'public/**'
- 'index.html'
- 'package.json'
- 'tsconfig*'
- 'vite.config*'
workflow_dispatch:
jobs:
deploy:
name: Deploy
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
VITE_BASE_URL: /syntax-visualizer/
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4