Skip to content

Cron

Cron #2346

Workflow file for this run

name: Cron
on:
schedule:
- cron: "0 0 * * *" # Runs every midnight
jobs:
cron:
name: Cron
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
- name: Run application
env:
FIGMA_TOKEN: ${{ secrets.FIGMA_TOKEN }}
FIGMA_FILE: ${{ secrets.FIGMA_FILE }}
FILE_FORMAT: ${{ secrets.FILE_FORMAT }}
run: npm run start
- uses: EndBug/add-and-commit@v9
with:
message: "Cron: Automated update"