Skip to content

Commit

Permalink
Revert "fix: use GITHUB_TOKEN for authentication in CI workflow"
Browse files Browse the repository at this point in the history
This reverts commit 5f6dca2.
  • Loading branch information
mohsen1 committed Jan 19, 2025
1 parent 5f6dca2 commit 2c8e28a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,10 @@ jobs:
*.zip
- name: Copy installation script to bodo.run
if: steps.semantic.outputs.new_release_published == 'true'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git clone https://x-access-token:${GH_TOKEN}@github.com/bodo-run/bodo-run.github.io.git
git clone https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/bodo-run/bodo-run.github.io.git
cp scripts/install_yek.sh bodo-run.github.io/public/yek.sh
cp scripts/install_yek.ps1 bodo-run.github.io/public/yek.ps1
COMMIT_SHA=$(git rev-parse HEAD)
Expand All @@ -232,5 +230,5 @@ jobs:
-m "$BODO_COMMIT_MESSAGE" \
-m "" \
-m "https://github.com/bodo-run/yek/commit/$COMMIT_SHA"
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/bodo-run/bodo-run.github.io.git
git remote set-url origin https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/bodo-run/bodo-run.github.io.git
git push

0 comments on commit 2c8e28a

Please sign in to comment.