Skip to content

fix: 禁用main.ts文件排序规则,防止页面无法渲染 #5

fix: 禁用main.ts文件排序规则,防止页面无法渲染

fix: 禁用main.ts文件排序规则,防止页面无法渲染 #5

Workflow file for this run

name: Release
on:
push:
branches:
- main-qj
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install pnpm
run: npm install -g pnpm
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Deploy to Aliyun Server
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: -rltgoDzvO --delete
SOURCE: dist/
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}