ci: 为项目添加CI/CD功能 #30

Manually merged
remilia merged 18 commits from ci/gitea-actions into master 2025-09-26 17:14:03 +08:00
Showing only changes of commit db49e74110 - Show all commits

View File

@ -37,4 +37,10 @@ jobs:
- name: Build project
run: pnpm run build
- name: Rsync build artifact to server
run: rsync -avz --delete .output/ remilia@192.168.86.5:/home/remilia/Jinshenwebsite/front-build
uses: tempersama/rsync-action@2.3
with:
host: {{ secrets.rsync_host }}
username: {{ secrets.rsync_username }}
source: {{ secrets.rsync_source }}
destination: {{ secrets.rsync_destination }}
key: {{ secrets.rsync_key }}