Skip to content

[T] Try to deploy with jekyll-gh-pages.yml #6

[T] Try to deploy with jekyll-gh-pages.yml

[T] Try to deploy with jekyll-gh-pages.yml #6

Workflow file for this run

name: Vite Build
on:
push:
branches: [master]
workflow_dispatch:
jobs:
build:
name: Build main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Install and build
run: |
export NODE_OPTIONS="--max-old-space-size=4096"
yarn install
yarn build-only
- name: Publish artifact code
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
- name: Deploy to GitHub branch
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist