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
    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.com
Francisco Cocozza
Sep 18, 2019