Skip to content

aggregator

aggregator #356

Workflow file for this run

name: aggregator
on:
schedule:
- cron: '0 */2 * * *'
jobs:
aggregate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: stage
fetch-depth: 0
persist-credentials: false
github_token: ${{ secrets.PERSONAL_GH_TOKEN }}
- uses: actions/setup-node@v2
with:
node-version: '12'
check-latest: true
- run: npm install
- name: Aggregate
run: node ./runners/content-aggregator/index.js
- name: Aggregate video
run: node ./runners/content-aggregator/video.js
- run: rm package-lock.json
- name: Commit & Push changes
uses: actions-js/push@v1.3
with:
branch: 'stage'
github_token: ${{ secrets.PERSONAL_GH_TOKEN }}