Skip to content

Commit 3baab97

Browse files
committed
Workflow
1 parent a8ecaf5 commit 3baab97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/refresh-data.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
steps:
1616
- name: Checkout repository
1717
uses: actions/checkout@v3
18+
with:
19+
token: ${{ secrets.GH_TOKEN }}
1820

1921
- name: Set up Node.js
2022
uses: actions/setup-node@v3
@@ -36,7 +38,6 @@ jobs:
3638
git config --local user.name "GitHub Action"
3739
git add public/projects.json
3840
git commit -m "Update projects data" || echo "No changes to commit"
39-
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/AI4REALNET/.github.io.git
4041
git push
4142
env:
42-
GH_TOKEN: ${{ secrets.GH_TOKEN }}
43+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)