Skip to content

chore: update readme #29

chore: update readme

chore: update readme #29

name: Deploy by Branch
on:
push:
branches:
- main
- master
- valaxy
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
run_install: true
- name: Use Node.js LTS
uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: https://registry.npmjs.org/
cache: pnpm
- name: 🌌 Build Valaxy Blog
run: npm run build
env:
NODE_OPTIONS: --max-old-space-size=8192
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages # The branch the action should deploy to.
folder: demo/dist # The folder the action should deploy.