Skip to content

add: map category points && chore: modify the UI style #27

add: map category points && chore: modify the UI style

add: map category points && chore: modify the UI style #27

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
defaults:
run:
working-directory: fzu-food-map
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: fzu-food-map/package-lock.json
- name: Install
run: npm ci
- name: Build
env:
VITE_MAPTILER_KEY: ${{ secrets.VITE_MAPTILER_KEY }}
run: |
npm run build
touch dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: fzu-food-map/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4