Skip to content

Commit 28212a7

Browse files
committed
use deploy key
1 parent bffeab1 commit 28212a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ jobs:
489489
uses: actions/checkout@v4
490490
with:
491491
repository: rescript-lang/rescript-lang.org
492-
token: ${{ secrets.GITHUB_TOKEN }}
492+
ssh-key: ${{ secrets.RESCRIPT_LANG_ORG_DEPLOY_KEY }}
493493

494494
- name: Download artifacts
495495
uses: actions/download-artifact@v4
@@ -516,7 +516,6 @@ jobs:
516516
- name: Commit and push
517517
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
518518
run: |
519-
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token
520519
git config --global user.name "github-actions[bot]"
521520
git config --global user.email "[email protected]"
522521
git add data/api

0 commit comments

Comments
 (0)