File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ # We maintain mirrors of this repo for demonstrating Aspect Workflows on other CI platforms.
2+ # This is documented in /.aspect/workflows/README.md.
3+ # The primary repo is tested on Buildkite because it's the best
4+ # https://buildkite.com/aspect/bazel-examples
5+ # When commits land there, we sync them to the others:
6+ # CircleCI: https://buildkite.com/aspect/bazel-examples-cci
7+ # GitHub Actions: https://buildkite.com/aspect/bazel-examples-gha
8+ name : Sync Mirrors
9+ on :
10+ workflow_dispatch :
11+ push :
12+ branches : ['main']
13+ jobs :
14+ push-cci :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Get a full history so all commits are present
18+ uses : actions/checkout@v4
19+ with :
20+ path : fresh-clone
21+ fetch-depth : 0
22+ - working-directory : fresh-clone
23+ run : |
24+ eval $(ssh-agent -s)
25+ ssh-add - <<< '${{ secrets.BAZEL_EXAMPLES_CCI_DEPLOY_TOKEN }}'
26+ git push [email protected] :aspect-build/bazel-examples-cci.git HEAD:main 27+ push-gha :
28+ runs-on : ubuntu-latest
29+ steps :
30+ - name : Get a full history so all commits are present
31+ uses : actions/checkout@v4
32+ with :
33+ path : fresh-clone
34+ fetch-depth : 0
35+ - working-directory : fresh-clone
36+ run : |
37+ eval $(ssh-agent -s)
38+ ssh-add - <<< '${{ secrets.BAZEL_EXAMPLES_GHA_DEPLOY_TOKEN }}'
39+ git push [email protected] :aspect-build/bazel-examples-gha.git HEAD:main
You can’t perform that action at this time.
0 commit comments