april / decklist

The code behind decklist.org, which generates DCI Registration Sheets.
https://decklist.org/
MIT License
45 stars 20 forks source link

Create GitHub Action to run generatecards.sh nightly, and commit new minified card list if it's been updated #76

Closed richardneal closed 1 year ago

richardneal commented 1 year ago

Rather than April having to manually run generatecards.sh whenever a new set comes out, this PR adds a GitHub Action that will run the shell script nightly, and if the minified card list is different than what's currently checked in, it'll check it in (which will trigger the GitHub Pages action and deploy).

I've had it running successfully on my downstream repo (see https://github.com/richardneal/decklist/actions for the Actions history).

april commented 1 year ago

Would you be able to remove the updated .js file from the PR? Happy to merge if so.

Thanks!

richardneal commented 1 year ago

Removed, thanks @april!