Skip to content

Cached content update #3850

Cached content update

Cached content update #3850

# Get milestones with issues + library stars from Github API and commit them as files
name: Cached content update
on:
push:
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
get-stars-and-milestones:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: checkout
uses: actions/checkout@v2
- name: get milestones and stars
env:
GH_API_KEY: ${{ secrets.GH_API_KEY }}
run: node src/js/scheduled.mjs scheduled
- name: deploy to gh-pages
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages # The branch the action should deploy to.
target-folder: livedata
folder: livedata-temp # The folder the action should deploy.
commit-message: scheduled milestones and stars update