Skip to content

Commit

Permalink
use correct github token env var name, otherwise github cli does not …
Browse files Browse the repository at this point in the history
…work in CI (#2343)

Signed-off-by: Paweł Bojanowski <pawel.bojanowski@loft.sh>
(cherry picked from commit 765e6da)
  • Loading branch information
hidalgopl committed Dec 18, 2024
1 parent 878bfd1 commit dec9463
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-config-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
# update docs "main" version only on beta or -rc
if: ${{ steps.release.outputs.is_stable_version == 'false' && steps.release.outputs.is_alpha_version == 'false' }}
env:
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
RELEASE_TAG: ${{ steps.release.outputs.release_tag }}
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
run: |
# clone vcluster-config and vcluster-docs
git clone --single-branch https://github.com/loft-sh/vcluster-docs.git
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
# update only on beta, -rc and stable versions
if: ${{ steps.release.outputs.is_alpha_version == 'false' }}
env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
GH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
RELEASE_TAG: ${{ steps.release.outputs.release_tag }}
run: |
git clone --single-branch https://github.com/loft-sh/vcluster-config.git
Expand Down

0 comments on commit dec9463

Please sign in to comment.