Skip to content

Commit 291cfdd

Browse files
committed
update
1 parent 6a0294d commit 291cfdd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/exportAndPush.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
statuses: write
2020
steps:
2121
- uses: actions/checkout@v4
22+
with:
23+
token: ${{ secrets.GH_TOKEN }}
2224
- name: Use Node.js
2325
uses: actions/setup-node@v4
2426
with:
@@ -40,9 +42,10 @@ jobs:
4042
cp -r ../out/* ./dashboard/chatbot-ui
4143
4244
- name: Commit changes
43-
with:
44-
github_token: ${{ secrets.GH_TOKEN }}
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
4547
run: |
48+
git remote set-url --push origin https://JYC0413:$GITHUB_TOKEN@github.com/GaiaNet-AI/gaianet-node.git
4649
git config --local user.email "juyichen0413@foxmail.com"
4750
git config --global user.name "JYC0413"
4851
git add .

0 commit comments

Comments
 (0)