Skip to content

playlists

playlists #2222

Workflow file for this run

name: playlists
on:
schedule:
- cron: '30 1 * * *'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x]
steps:
- uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@f1f314fca9dfce2769ece7d933488f076716723e # v1.4.6
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: |
sudo npm install -g pxt
npm install
- name: updated playlists
run: |
pxt downloadplaylists
env:
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
with:
commit-message: Updated playlists
branch: playlists/patch
title: 'Updated playlists'