Skip to content

Merge pull request #66 from Fs-DXMY/patch-3 #112

Merge pull request #66 from Fs-DXMY/patch-3

Merge pull request #66 from Fs-DXMY/patch-3 #112

Workflow file for this run

name: Deploy
on:
workflow_dispatch: {}
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm install -g yarn
- run: yarn install
- run: yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build