3 Star 23 Fork 5

Nuclei-Software/nuclei-board-labs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
variables:
# GIT_STRATEGY: fetch
CI_SCRATCH: /home/xl_ci/ci_scratch
before_script:
- module load common
stages:
- release
- deploy
deploy_doc:
stage: release
retry: 1
only:
refs:
- master
changes:
- doc/source/**/**/**/**/*
artifacts:
name: "nuclei_board_labs_doc-${CI_COMMIT_SHA::8}"
paths:
- doc/build
expire_in: 2 day
script:
- cd doc
- pip3 install --user -r requirements.txt
- export PATH=$HOME/.local/bin:$PATH
- make clean
- make all
- ssh xl01 "rm -rf /home/xl_ci/doc_center/nuclei_board_labs/*"
- ssh xl01 "mkdir -p /home/xl_ci/doc_center/nuclei_board_labs/"
- cd build
- scp -r html xl01:/home/xl_ci/doc_center/nuclei_board_labs
- cd ..
#- make linkcheck
- make latexpdf
- cp build/latex/*.pdf build/html/
tags:
- software-server
deploy_website:
stage: deploy
when: on_success
only:
refs:
- master
changes:
- doc/source/**/**/**/**/*
retry: 1
script:
- ./.ci/ftp_deploy.sh $FTPUSER $FTPPWD $FTPSERVER doc/build/html nuclei_board_labs
tags:
- software-server
dependencies:
- deploy_doc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/Nuclei-Software/nuclei-board-labs.git
[email protected]:Nuclei-Software/nuclei-board-labs.git
Nuclei-Software
nuclei-board-labs
nuclei-board-labs
master

搜索帮助