@@ -12,14 +12,14 @@ on:
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DB_HOST: mysql
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:8.0
|
||||
env:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
||||
MYSQL_DATABASE: new_pet_test
|
||||
ports:
|
||||
- 3306:3306
|
||||
options: >-
|
||||
--health-cmd="mysqladmin ping"
|
||||
--health-interval=10s
|
||||
@@ -69,7 +69,7 @@ jobs:
|
||||
with:
|
||||
name: server-build
|
||||
path: server/public/build
|
||||
- uses: https://gitea.neatcn.com/pets/deployment-toolkit/actions/laravel-release@v1
|
||||
- uses: https://gitea.neatcn.com/pets/deployment-toolkit/actions/laravel-release@v1.0.2
|
||||
with:
|
||||
source-dir: server
|
||||
deploy-root: ${{ vars.SERVER_DEPLOY_ROOT }}
|
||||
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
test -n "$WECHAT_CI_PRIVATE_KEY"
|
||||
umask 077
|
||||
printf '%s' "$WECHAT_CI_PRIVATE_KEY" > "$RUNNER_TEMP/wechat-ci.key"
|
||||
- uses: https://gitea.neatcn.com/pets/deployment-toolkit/actions/wechat-preview@v1
|
||||
- uses: https://gitea.neatcn.com/pets/deployment-toolkit/actions/wechat-preview@v1.0.2
|
||||
with:
|
||||
project-path: miniapp
|
||||
appid: ${{ vars.MINIAPP_APPID }}
|
||||
|
||||
Reference in New Issue
Block a user