git-submodules

Update git submodules
Arguments
GITHUB_TOKEN
- GitHub Token required to access the repository
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
    version: '1.0'
steps:
  updateSubmodules:
    type: git-submodules
    arguments:
      GITHUB_TOKEN: '${{GITHUB_TOKEN}}'
      CF_SUBMODULE_SYNC: '${{CF_SUBMODULE_SYNC}}'
      CF_SUBMODULE_UPDATE_RECURSIVE: '${{CF_SUBMODULE_UPDATE_RECURSIVE}}'

  
github.comFrancisco CocozzaAug 21, 2019source