Generate Cards #166
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Cards | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: | |
jobs: | |
generate-cards: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Install terser | |
run: npm i terser -g | |
- name: Run shell script | |
run: ./generatecards.sh | |
working-directory: ./js/cards/ | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update card list |