Skip to content

update GH Action & update gh pages config #1

update GH Action & update gh pages config

update GH Action & update gh pages config #1

Workflow file for this run

on:
push:
branches:
- maptiler
permissions:
contents: write
jobs:
deploy:
name: Deploy to gh-pages
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v2
with:
node-version: '16'
- name: install & build
shell: bash
run: |
yarn install --network-concurrency 1
cp public/config/gh-pages.js public/config/local.js
BASE_PATH=/maperture/ yarn build
env:
MAPTILER_API_KEY: ${{ secrets.MAPTILER_API_KEY }}
- name: deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: public
- name: cleanup
shell: bash
run: |
rm public/config/local.js