Skip to content

Switch to https://mapserver-workshop-wbpis.ondigitalocean.app/ #44

Switch to https://mapserver-workshop-wbpis.ondigitalocean.app/

Switch to https://mapserver-workshop-wbpis.ondigitalocean.app/ #44

Workflow file for this run

name: Deploy application ⚙️
on:
push:
branches:
- main
paths:
- 'workshop/exercises/app/**'
- '.github/workflows/deploy.app.yml'
defaults:
run:
working-directory: workshop/exercises/app
jobs:
build:
name: Build and Deploy JavaScript application
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build website
run: |
npm install
npm run build
- name: Deploy 📦
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.PRIVATE_KEY }}
publish_dir: ./workshop/exercises/app/dist
publish_branch: gh-pages
# deploy to https://mapserver.github.io/getting-started-with-mapserver-demo/
external_repository: mapserver/getting-started-with-mapserver-demo