Commit 1d1010b4 by 刘荣雷

Add .gitlab-ci.yml

parent 2b69b5cd
Pipeline #1 canceled with stage
in 0 秒
sync_to_github:
stage: deploy
script:
# - apt-get update -y && apt-get install -y git
- git remote add github https://github.com/shufengdong/sparrowzz.git || true # 添加远程仓库,如果已存在则忽略错误
- git push github --all || true # 推送所有分支到GitHub,忽略错误以防分支不存在等
- git push github --tags || true # 推送所有标签到GitHub,忽略错误以防标签不存在等
only:
- master # 触发同步的分支,根据需要修改
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论