Skip to content

Merge pull request #18 from OpenHistoricalMap/twn #84

Merge pull request #18 from OpenHistoricalMap/twn

Merge pull request #18 from OpenHistoricalMap/twn #84

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
permissions:
pages: write
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: corepack enable
- run: yarn install
- run: yarn build
- name: Deploy to https://${{ github.actor }}.github.io/${{ github.event.repository.name }}/
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist