Skip to content

Commit

Permalink
Merge pull request #21 from nwb-extensions/rly-patch-1
Browse files Browse the repository at this point in the history
Attempt git credentials fix
  • Loading branch information
rly authored Aug 7, 2024
2 parents c4acbad + 8c30361 commit 8786a13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
CI_COMMIT_USER: 'github-actions[bot]'
CI_COMMIT_EMAIL: 'github-actions[bot]@users.noreply.github.com'
CI_COMMIT_MESSAGE: '[bot] update records'
CI_PUSH_REMOTE: [email protected]:$GITHUB_REPOSITORY.git
CI_PUSH_BRANCH: 'main'
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -40,12 +38,12 @@ jobs:
- name: Commit & Push to repository
run: |
git config user.name "${{ env.CI_COMMIT_USER }}"
git config user.mail "${{ env.CI_COMMIT_EMAIL }}"
git config user.email "${{ env.CI_COMMIT_EMAIL }}"
if [[ `git diff data` ]] ; then
git add data
git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
git push "${{ env.CI_PUSH_REMOTE }}" "HEAD:${{ env.CI_PUSH_BRANCH }}"
git push
else
echo "No changes were found in data"
exit 0
Expand Down
2 changes: 1 addition & 1 deletion data/records.json

Large diffs are not rendered by default.

0 comments on commit 8786a13

Please sign in to comment.