Skip to content

Commit

Permalink
Update sync_mirrors.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle authored Jan 14, 2025
1 parent d961d0b commit d3c33bf
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/sync_mirrors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ jobs:
with:
path: fresh-clone
fetch-depth: 0
- name: Push commits with credentials
working-directory: fresh-clone
- name: Setup credentials (cci)
if: matrix.dest == 'cci'
run: |
eval $(ssh-agent -s)
ssh-add - <<< '${{ secrets.BAZEL_EXAMPLES_CCI_DEPLOY_TOKEN }}'
- name: Setup credentials (gha)
if: matrix.dest == 'gha'
run: |
eval $(ssh-agent -s)
ssh-add - <<< '${{ secrets.BAZEL_EXAMPLES_GHA_DEPLOY_TOKEN }}'
git push git@github.com:aspect-build/bazel-examples-${{ matrix.dest }}.git HEAD:main
- name: Push commits
working-directory: fresh-clone
run: git push git@github.com:aspect-build/bazel-examples-${{ matrix.dest }}.git HEAD:main

0 comments on commit d3c33bf

Please sign in to comment.