Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: maintan docs .gitrepo #1178

Merged
merged 1 commit into from
Jul 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/mirror_docs_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- master
paths:
- 'docs/**'
- '!docs/.gitrepo'

jobs:
build:
Expand All @@ -24,11 +25,11 @@ jobs:
# with some logic to recover from squashed parent commits
SUBREPO_PATH=docs
# identify ourselves, needed to commit
git config --global user.email "tech@aztecprotocol.com"
git config --global user.name "AztecBot"
# push to subrepo, commit locally. The commit is lost
# when the github action ends, however it is not needed
# to continue to replay. If we do hit issues such as this
git config --global user.name AztecBot
git config --global user.email tech@aztecprotocol.com
# push to subrepo, commit to master. The commit is needed
# to continue to replay. If we still hit issues such as this
# action failing due to upstream changes, a manual resolution
# PR with ./scripts/git_subrepo.sh pull will be needed.
./scripts/git_subrepo.sh push $SUBREPO_PATH --branch=main
git push # update .gitrepo on master