Skip to content

Commit 93808bb

Browse files
authored
Merge pull request #14 from SOLO-Chain-Devs/main
patch: github_token patch
2 parents 5b0b574 + 59a9a83 commit 93808bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/redeploy-implementation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ jobs:
131131
132132
- name: Commit and push changes
133133
if: steps.deploy.outputs.NEW_IMPLEMENTATION != ''
134+
env:
135+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
134136
run: |
135137
git config --local user.email "action@github.com"
136138
git config --local user.name "GitHub Action"
@@ -142,7 +144,7 @@ jobs:
142144
git add DEPLOYMENT.md
143145
git commit -m "🚀 Automated deployment: Update implementation to ${{ steps.deploy.outputs.NEW_IMPLEMENTATION }}"
144146
145-
git push origin deploy/redeploy-implementation
147+
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git deploy/redeploy-implementation
146148
echo "✅ Pushed updated DEPLOYMENT.md"
147149
fi
148150

0 commit comments

Comments
 (0)