Skip to content

Commit b85a6de

Browse files
committed
fix: Checkout ci-tools into third_party.
Repos have a .gitignore there to avoid committing it.
1 parent 13c6385 commit b85a6de

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/release-deploy.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,23 @@ jobs:
2626
fetch-depth: 0
2727
submodules: true
2828
- name: Checkout ci-tools
29+
if: github.repository != 'TokTok/ci-tools'
2930
uses: actions/checkout@v4
3031
with:
3132
repository: TokTok/ci-tools
32-
path: ci-tools
33+
path: third_party/ci-tools
34+
submodules: true
35+
- name: Link ci-tools
36+
if: github.repository == 'TokTok/ci-tools'
37+
run: ln -s .. third_party/ci-tools
3338
- name: Create GitHub actions identity
34-
run: ci-tools/tools/use_github_actions_identity.sh
39+
run: third_party/ci-tools/tools/use_github_actions_identity.sh
3540
- name: Set up git upstream remote
36-
run: ci-tools/tools/add_upstream_remote.sh
41+
run: third_party/ci-tools/tools/add_upstream_remote.sh
3742
- name: Import developer keys
38-
run: ci-tools/tools/import_developer_keys.sh
43+
run: third_party/ci-tools/tools/import_developer_keys.sh
3944
- name: Create release
40-
run: ci-tools/tools/create_release.py
45+
run: third_party/ci-tools/tools/create_release.py
4146
--github-actions
4247
--upstream=origin
4348
--issue=${{ github.event.issue.number }}

0 commit comments

Comments
 (0)