Skip to content

feat: update the new title changes in buildbattle (#718) #145

feat: update the new title changes in buildbattle (#718)

feat: update the new title changes in buildbattle (#718) #145

Workflow file for this run

name: Deploy
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
checks: write
contents: write
jobs:
deploy:
name: Deploy
runs-on: self-hosted
environment: production
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
token: ${{ secrets.REPO_PAT }}
submodules: recursive
- name: Install dependencies
run: pnpm install --force
- name: Build Code
run: pnpm scripts purge --dist && pnpm build --force
- name: Prepare Assets
run: cd assets/private && pnpm blur && cd ../../
- name: Move Config
run: cp /home/config.js ./config.js
- name: Restart PM2
run: npx pm2 restart pm2.config.cjs