1
0

merge: branch 'main' of https://github.com/alikia2x/cvsa into HEAD

This commit is contained in:
alikia2x (寒寒) 2025-11-30 03:00:53 +08:00
commit c2a66f4198
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

18
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Deploy
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Deploy the backend
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd /web/cvsa
git pull
pm2 restart cvsa-be --update-env