chore: 将后端移动到 api/ 目录,准备合并为单仓库
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e172ffc0b3
commit
0591eda56f
244 files changed
No files matched your search
Vendored
+30
@@ -0,0 +1,30 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- name: debian
|
||||
remote_port: 22
|
||||
- name: school
|
||||
remote_port: 8822
|
||||
steps:
|
||||
- name: Deploy to ${{ matrix.name }}
|
||||
uses: appleboy/ssh-action@v1
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
port: ${{ matrix.remote_port }}
|
||||
username: root
|
||||
key: ${{ secrets.KEY }}
|
||||
script: sh /root/WebPreview/backend.sh
|
||||
Reference in new issue
Block a user