Skip to content

Update Highlight.css #99

Update Highlight.css

Update Highlight.css #99

Workflow file for this run

name: Update Highlight.css
on:
schedule:
- cron: '36 0 * * *'
workflow_dispatch:
jobs:
highlight:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install dependencies
working-directory: ./fandom-cron
run: npm install
- name: Set configuration
working-directory: ./fandom-cron
run: echo '${{ secrets.HIGHLIGHT_CONFIG }}' > highlight.json
- name: Update Highlight.css
working-directory: ./fandom-cron
run: node highlight.js