mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-03-09 21:40:47 +08:00
feat: update
This commit is contained in:
25
.github/workflows/deploy.yml
vendored
25
.github/workflows/deploy.yml
vendored
@@ -8,25 +8,26 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
environment: Deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-java@v4
|
# - uses: actions/setup-java@v4
|
||||||
with:
|
# with:
|
||||||
java-version: '17'
|
# java-version: '17'
|
||||||
distribution: 'temurin'
|
# distribution: 'temurin'
|
||||||
|
|
||||||
- run: mvn -B clean package -DskipTests
|
# - run: mvn -B clean package -DskipTests
|
||||||
|
|
||||||
- uses: actions/setup-node@v4
|
# - uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: '20'
|
# node-version: '20'
|
||||||
|
|
||||||
- run: |
|
# - run: |
|
||||||
cd open-isle-cli
|
# cd open-isle-cli
|
||||||
npm ci
|
# npm ci
|
||||||
npm run build
|
# npm run build
|
||||||
|
|
||||||
- name: Deploy to Server
|
- name: Deploy to Server
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
|
|||||||
Reference in New Issue
Block a user