Skip to content

update_post

update_post #10

name: Update Content
on:
repository_dispatch:
types: [update_post]
jobs:
commit_changes:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- name: Commit Empty Message
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "feat: update content" --allow-empty
git push