Skip to content

Commit

Permalink
cd: Fix env var reference
Browse files Browse the repository at this point in the history
Updates how `GITHUB_TOKEN` and `GITHUB_REPOSITORY` are referenced to fix the build.

tschaub/gh-pages#345 (comment) used for inspiration.
  • Loading branch information
akash1810 committed Oct 30, 2023
1 parent 1c6493b commit 42f9f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,5 @@ jobs:
- name: Release docs
if: (github.ref == 'refs/heads/main')
run: |
git remote set-url origin https://git:${{secrets.GITHUB_TOKEN}}@github.com/${{vars.GITHUB_REPOSITORY}}.git
git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
npm run release:docs

0 comments on commit 42f9f7e

Please sign in to comment.