Skip to content

🚸 Use the Page Visibility API to save preferences i… #88

🚸 Use the Page Visibility API to save preferences i…

🚸 Use the Page Visibility API to save preferences i… #88

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
with:
notesreview-api-url: ${{ secrets.NOTESREVIEW_API_URL }}
openstreetmap-server: ${{ secrets.OPENSTREETMAP_SERVER }}
openstreetmap-oauth-client-id: ${{ secrets.OPENSTREETMAP_OAUTH_CLIENT_ID }}
openstreetmap-oauth-client-secret: ${{ secrets.OPENSTREETMAP_OAUTH_CLIENT_SECRET }}
mapillary-client-id: ${{ secrets.MAPILLARY_CLIENT_ID }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './app/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4