Skip to content

Merge pull request #3 from mug-jp/offscreen #6

Merge pull request #3 from mug-jp/offscreen

Merge pull request #3 from mug-jp/offscreen #6

Workflow file for this run

name: Example
on:
push:
branches:
- master
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: install
run: npm ci
- name: build
run: npm run build:web
- name: add nojekyll
run: touch ./example/.nojekyll
# deploy files to gh-pages
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example
publish_branch: gh-pages