作者 谢彪
2 个管道 的构建 取消

commit yml

# .gitlab-ci.yml
image: node:latest
stages:
- deploy
deploy:
stage: deploy
script:
- mkdir -p public
- cp -r html/* public/
artifacts:
paths:
- public
only:
- master # 或者你希望触发部署的分支
\ No newline at end of file
... ...