Skip to content

Downloadable GeoJSON Files with Edits + Improved GeoJSON Editor #201

Downloadable GeoJSON Files with Edits + Improved GeoJSON Editor

Downloadable GeoJSON Files with Edits + Improved GeoJSON Editor #201

name: Azure Static Web Apps CI/CD
on:
push:
branches: ['main']
pull_request:
types: [opened, synchronize, reopened, closed]
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
action: 'upload'
app_location: '/' # App source code path relative to repository root
app_build_command: 'npm run build:test'
output_location: 'build' # Built app content directory, relative to app_location - optional
env: # Add environment variables here
REACT_APP_STAGING_ENV: ${{ github.ref != 'refs/heads/main' }}