diff --git a/.github/workflows/server_deploy.yml b/.github/workflows/server_deploy.yml index b42b1f90..f1f60d0a 100644 --- a/.github/workflows/server_deploy.yml +++ b/.github/workflows/server_deploy.yml @@ -2,7 +2,9 @@ name: dev branch auto ci process script on: pull_request: - branches: [production] + branches: production + types: + - closed jobs: deploy: diff --git a/server/build/config/express.js b/server/build/config/express.js index 6e42ee03..410e0c88 100644 --- a/server/build/config/express.js +++ b/server/build/config/express.js @@ -54,7 +54,7 @@ function default_1() { app.use(passport_1.default.session()); app.set("trust proxy", 1); app.use("/test", (req, res, next) => { - res.send("github action deploy test33"); + res.send("github action deploy test44"); }); _routes_1.default.forEach(({ url, router }) => { app.use(url, router); diff --git a/server/src/config/express.ts b/server/src/config/express.ts index 182a1db7..66afb295 100644 --- a/server/src/config/express.ts +++ b/server/src/config/express.ts @@ -48,7 +48,7 @@ export default async function () { app.set("trust proxy", 1); app.use("/test", (req, res, next) => { - res.send("github action deploy test33"); + res.send("github action deploy test44"); }); ROUTER_LIST.forEach(({ url, router }) => {