diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6087f863..5bdc4ee5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,11 +29,9 @@ jobs: port: ${{ secrets.PORT }} # 服务器ssh端口(默认22) script: | cd /root/Official-website-backend - rm -rf dist git pull bash ./gradlew build -x test -# cd dist -# export DBPWD=${{secrets.SPRING_DATASOURCE_PASSWORD}} + cd dist bash stop.sh bash start.sh