Skip to content

Commit

Permalink
Update update-blog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmanca authored Oct 19, 2024
1 parent f15ba54 commit d91302b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ jobs:
git add data/PEYJobPosting2024.json
git commit -m "Add updated PEY job postings data"
- name: Set up authentication for pushing changes
run: |
cd blog-repo
git remote set-url origin https://x-access-token:${{ secrets.GH_BLOG_TOKEN }}@github.com/sadmanca/blog.git
- name: Push changes to the blog repo
env:
GH_BLOG_TOKEN: ${{ secrets.GH_BLOG_TOKEN }}
run: |
cd blog-repo
git remote set-url origin https://[email protected]/sadmanca/blog.git
git push -u origin github-actions-test
- name: Send notification via curl
Expand Down

0 comments on commit d91302b

Please sign in to comment.