File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy CodeFestival Web
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Execute rebuild script
13+ uses : appleboy/ssh-action@3ca8a7c5359ac6ad91aa47f1946ece1c3b025004
14+ with :
15+ host : ${{ secrets.SERVER_IP }}
16+ port : ${{ secrets.SERVER_PORT }}
17+ username : ${{ secrets.SERVER_USERNAME }}
18+ key : ${{ secrets.SSH_PRIVATE_KEY }}
19+ script : /usr/local/bin/deploy/pnpm.sh
Original file line number Diff line number Diff line change 1+ name : Code Style Validation
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ lint :
9+ runs-on : ubuntu-latest
10+
11+ steps :
12+ - name : Checkout repository
13+ uses : actions/checkout@v5
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v6
19+ with :
20+ node-version : 24
21+
22+ - name : Install pnpm
23+ run : npm install -g pnpm
24+
25+ - name : Install dependencies
26+ run : pnpm install
27+
28+ - name : Run ESLint
29+ run : pnpm run lint
You can’t perform that action at this time.
0 commit comments