.cnb.yml 650 B

12345678910111213141516171819
  1. master:
  2. push:
  3. - name: sync to github
  4. runner:
  5. cpus: 1
  6. stages:
  7. - name: sync to github
  8. image: tencentcom/git-sync
  9. if: |
  10. bash -c "[[ "${CNB_REPO_SLUG_LOWERCASE}" == "dragonos-community/deb-downloader" ]]"
  11. imports:
  12. - https://cnb.cool/DragonOS-Community/envs-repo/-/blob/main/deb-downloader/envs.yml
  13. settings:
  14. target_url: https://github.com/DragonOS-Community/deb-downloader.git
  15. auth_type: https
  16. force: true
  17. push_tags: true
  18. username: ${GITHUB_USERNAME}
  19. password: ${GITHUB_PUSH_TOKEN}