Skip to content

Commit

Permalink
fix: submodule fetching?
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux committed Jan 30, 2024
1 parent 65edfc7 commit 18199c5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/open-docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,20 @@ jobs:
run: |
COMMIT=${{ inputs.commit }}
REPOSITORY="nicolasbrugneaux/celo-docs"
DOCS_CWD="celo-docs"
BRANCH_NAME="ci/${{ github.run_id }}-${{ github.run_attempt }}"
# Clone the remote repository
git clone \
--depth=1 \
--recurse-submodules \
--branch=main \
https://github.com/$REPOSITORY docs
cd docs
https://github.com/$REPOSITORY \
$DOCS_CWD
cd DOCS_CWD
git submodule init
git submodule update
# Setup the committers identity.
# TODO: ask security for a bot account
Expand Down

0 comments on commit 18199c5

Please sign in to comment.