Skip to content

Commit d91302b

Browse files
authored
Update update-blog.yml
1 parent f15ba54 commit d91302b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/update-blog.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,14 @@ jobs:
5757
git add data/PEYJobPosting2024.json
5858
git commit -m "Add updated PEY job postings data"
5959
60+
- name: Set up authentication for pushing changes
61+
run: |
62+
cd blog-repo
63+
git remote set-url origin https://x-access-token:${{ secrets.GH_BLOG_TOKEN }}@github.com/sadmanca/blog.git
64+
6065
- name: Push changes to the blog repo
61-
env:
62-
GH_BLOG_TOKEN: ${{ secrets.GH_BLOG_TOKEN }}
6366
run: |
6467
cd blog-repo
65-
git remote set-url origin https://[email protected]/sadmanca/blog.git
6668
git push -u origin github-actions-test
6769
6870
- name: Send notification via curl

0 commit comments

Comments
 (0)