Skip to content

Commit d961d0b

Browse files
authored
Update sync_mirrors.yaml
1 parent fb2297c commit d961d0b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/sync_mirrors.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ jobs:
2323
with:
2424
path: fresh-clone
2525
fetch-depth: 0
26-
- name: Setup credentials
26+
- name: Push commits with credentials
27+
working-directory: fresh-clone
2728
run: |
2829
eval $(ssh-agent -s)
29-
ssh-add - <<< '${{ secrets.BAZEL_EXAMPLES_CCI_DEPLOY_TOKEN }}'
3030
ssh-add - <<< '${{ secrets.BAZEL_EXAMPLES_GHA_DEPLOY_TOKEN }}'
31-
- name: Push commits
32-
working-directory: fresh-clone
33-
run: git push git@github.com:aspect-build/bazel-examples-${{ matrix.dest }}.git HEAD:main
31+
git push git@github.com:aspect-build/bazel-examples-${{ matrix.dest }}.git HEAD:main

0 commit comments

Comments
 (0)