Skip to content

Commit 7213de3

Browse files
committed
Try with cli repo having token credentials too, why not?
1 parent d12dc43 commit 7213de3

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,21 @@ jobs:
1414
run:
1515
shell: bash
1616
steps:
17-
- name: Checkout repository
18-
uses: actions/checkout@v4
19-
with:
20-
path: cli
21-
submodules: recursive
22-
2317
- name: Generate token
2418
id: generate_token
2519
uses: actions/create-github-app-token@v1
2620
with:
2721
app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }}
2822
private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }}
2923

24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
with:
27+
path: cli
28+
submodules: recursive
29+
persist-credentials: true
30+
token: ${{ steps.generate_token.outputs.token }}
31+
3032
- name: Checkout docs repo
3133
uses: actions/checkout@v4
3234
with:
@@ -55,10 +57,8 @@ jobs:
5557
BRANCH_NAME="cli-update-docs-${{ github.ref_name }}"
5658
# Remove the "/merge" suffix if it exists
5759
BRANCH_NAME=${BRANCH_NAME%/merge}
58-
echo "Branch name: $BRANCH_NAME"
5960
6061
cd docs
61-
pwd
6262
6363
# Setup the committers identity.
6464
git config --global user.email "sdk@temporal.io"

0 commit comments

Comments
 (0)