-
Notifications
You must be signed in to change notification settings - Fork 263
36 lines (31 loc) · 959 Bytes
/
Copy pathplaylists.yml
File metadata and controls
36 lines (31 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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'