Skip to content

Commit

Permalink
ci: maybe this way
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Dec 28, 2022
1 parent e121c39 commit 28188a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }}
- name: Use Node.js v18
uses: actions/setup-node@v3
with:
Expand All @@ -114,9 +115,9 @@ jobs:
run: yarn --immutable
- name: Configure Git
run: |
git config --local user.name "${GITHUB_ACTOR}"
git config --local user.email "${GITHUB_EMAIL}"
git remote set-url origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_EMAIL}"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
GITHUB_USER: Favware-bot
Expand Down

0 comments on commit 28188a7

Please sign in to comment.