Skip to content

build: update deps #813

build: update deps

build: update deps #813

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: Install
uses: wyvox/action-setup-pnpm@v3
- id: Optimize
run: pnpm optimize
- id: Build
env:
DOCS_BASE_URL: /${{ github.event.repository.name }}/
DOCS_HOME_URL: https://cloudpss.net/
run: pnpm build
- id: Upload
if: (!cancelled())
uses: actions/upload-artifact@v4
with:
name: build
path: build
- id: Deploy
uses: peaceiris/actions-gh-pages@v4
if: (!cancelled() && github.event_name == 'push')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: build
force_orphan: true
enable_jekyll: false
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: ${{ github.event.head_commit.message }}