1 Star 0 Fork 0

任宇航/myjudge-frontend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
任宇航 提交于 2024-02-26 08:19 . 初始化 ts 版本
# The Docker image that will be used to build your app
image: node:lts
# Functions that should be executed before the build script is run
before_script:
- npm install pnpm -g
- pnpm install
pages:
script:
- npm run build
- rm -rf ./public
- cp -r ./dist ./public
artifacts:
paths:
# The folder that contains the files to be exposed at the Page URL
- public
rules:
# This ensures that only pushes to the default branch will trigger
# a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yuhang-ren/myjudge-frontend.git
git@gitee.com:yuhang-ren/myjudge-frontend.git
yuhang-ren
myjudge-frontend
myjudge-frontend
master

搜索帮助