【发布时间】:2021-02-11 23:04:18
【问题描述】:
image: node:9.2.0
stages:
- build
build:
stage: build
script:
- set NODE_ENV=production
- npm install
- npm run transpile
- ls
- cd dist-server
- ls
- node /bin/www
#- npm run prod
artifacts:
expire_in: 1 day
paths:
- dist/
以上是我的 ci yaml 文件,任何人都可以分享如何在 linux Azure Web App 上部署它。
【问题讨论】:
-
感谢 Jason 的回复,我们可以从 gitlab 部署它吗?以及添加 yaml 以进行部署的步骤?
-
请查看这篇文章。 about.gitlab.com/blog/2020/07/09/…
标签: node.js gitlab yaml azure-web-app-service continuous-deployment