Skip to content

Merge pull request #70 from Enaium-Fork/main #128

Merge pull request #70 from Enaium-Fork/main

Merge pull request #70 from Enaium-Fork/main #128

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