Skip to content

Merge opened pull request 2 at upstream #4

Merge opened pull request 2 at upstream

Merge opened pull request 2 at upstream #4

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
env:
VITE_BASE_URL: ${{ vars.BASE_URL }}
jobs:
build-and-deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Predeploy
run: npm run predeploy
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist