Skip to content

Commit

Permalink
Updates publish workflow to use CD_GITHUB_USER secrets to push with a…
Browse files Browse the repository at this point in the history
…uthenticated user (#155)
  • Loading branch information
atreat authored Feb 6, 2024
1 parent 3e745b8 commit b8afd0b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ jobs:
- name: Run publish script
env:
PUBLIC_REMOTE_URL: ${{ vars.PUBLIC_REMOTE_URL }}
run: bin/publish
run: |
git config --global user.name "embrace-ci"
git config --global user.email "embrace-ci@users.noreply.github.com"
git config --global url."https://${{ secrets.CD_GITHUB_USER }}:${{ secrets.CD_GITHUB_TOKEN }}@github.com".insteadOf "https://github.com"
bin/publish

0 comments on commit b8afd0b

Please sign in to comment.