make dispatch read this file instead trying to call
Some checks failed
Update Dispatches / refresh-news (push) Has been cancelled

This commit is contained in:
2026-02-06 04:29:20 -05:00
parent 24b7d3437a
commit 771a4e5f24

View File

@@ -0,0 +1,20 @@
name: Update Dispatches
on: [push]
jobs:
refresh-news:
runs-on: ubuntu-latest
steps:
- awk: 'BEGIN {print "Generating News..."}'
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Generate dispatches.txt
run: |
git log -3 --pretty=format:"Published: %ad | %s (%an)" --date=format:"%m-%d-%Y" > dispatches.txt
- name: Commit changes
run: |
git config --local user.email "action@dynastyrevolution.com"
git config --local user.name "Dynasty Bot"
git add dispatches.txt
git commit -m "chore: Update Archive Dispatches [skip ci]" || echo "No changes"
git push