93

Update a Git submodule git-submodules

Update Git submodules

arguments

  • CF_SUBMODULE_SYNC - if var is set to 'true', the step will perform 'git submodule sync' command
  • CF_SUBMODULE_UPDATE_RECURSIVE - if set to 'true', the step will perform 'git submodule update --init' command with '--recursive' option
  • GITHUB_TOKEN - GitHub Token required to access the repository
    updateSubmodules:
  type: git-submodules
  arguments:
    GITHUB_TOKEN: '${{GITHUB_TOKEN}}'
    CF_SUBMODULE_SYNC: '${{CF_SUBMODULE_SYNC}}'
    CF_SUBMODULE_UPDATE_RECURSIVE: '${{CF_SUBMODULE_UPDATE_RECURSIVE}}'

  
github.com
Francisco Cocozza
May 20, 2020