diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-02 22:53:56 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-02 22:53:56 +0300 |
| commit | 27d0b4df2cca918ff06915e51995955632517089 (patch) | |
| tree | 44d505fbf703b87f8b0f91ef2d3bdff6278acc82 /.github/workflows | |
| parent | c2ad91cc513d35abdce2c5f4f08b87f2f886b7d2 (diff) | |
fix: publish preview manifest with bot token
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/preview.yml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 1d2fe432..dfe9cd87 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -232,7 +232,7 @@ jobs: with: ref: master fetch-depth: 0 - ssh-key: ${{ secrets.PREVIEW_DEPLOY_KEY }} + persist-credentials: false - name: Verify built commit is still current master run: | @@ -299,12 +299,14 @@ jobs: --retain 30 - name: Commit preview manifest + env: + KANGAL_GITHUB_TOKEN: ${{ secrets.KANGAL_GITHUB_TOKEN }} run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config user.name "kangal-bot" + git config user.email "285672167+kangal-bot@users.noreply.github.com" git add website/preview.json git diff --cached --quiet || git commit -m "docs: update preview manifest" - git push origin HEAD:master + git push "https://x-access-token:${KANGAL_GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" HEAD:master - name: Prune old preview prereleases env: |
