Skip to content

fix: bugfix

fix: bugfix #10

name: publish-to-alibabacloud
on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- uses: pnpm/[email protected]
with:
version: 7
- name: install
run: pnpm install --no-frozen-lockfile
- name: build
run: pnpm build
- name: scp
uses: appleboy/[email protected]
with:
host: 182.92.210.127
port: 22
username: ${{secrets.ALIYUN_NAME}}
password: ${{secrets.AIYUN_PASSWORD}}
source: "dist"
target: "/root/nginx/3d-editor"