Skip to content

updated github actions #24

updated github actions

updated github actions #24

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build
run: |
npm ci
npm run build
env:
VITE_ARCGIS_API_KEY: ${{ secrets.ARCGIS_API_KEY }}
CI: false
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.