Fix/improve timeline browsing and marker display. adapt ABout text #103
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: Testing and deployment | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy-run: | |
runs-on: ${{ matrix.os }} | |
name: Deploy | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup node env | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Print node-version | |
run: node -v | |
- name: Install dependencies 📦 | |
run: npm install | |
- name: Generate 🔩 | |
run: npm run build | |
env: | |
PUBLIC_PATH: '/lacune-map/' | |
- name: Setup Pages | |
uses: actions/configure-pages@v4 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v3 | |
with: | |
# Upload dist folder | |
path: './dist' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Deploy to GitHub Pages 🏁 | |
id: deployment | |
uses: actions/deploy-pages@v4 | |