Update package.json #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy the Demo project | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy-demo: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Install and Build 🔧 | |
run: | | |
npm ci | |
npm link | |
npm link @maplibre/maplibre-gl-directions | |
npm run build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |