Fix "Main playlists not updating" issue

This commit is contained in:
freearhey
2019-11-13 16:23:37 +03:00
parent 1a5dbcbd82
commit ed1950e8db
2 changed files with 10 additions and 11 deletions

View File

@@ -5,20 +5,25 @@ on:
- cron: '0 1 * * *'
jobs:
generate:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Generate Playlists and Deploy
uses: JamesIves/github-pages-deploy-action@master
env:
- name: Install Dependencies
run: npm install
- name: Generate Playlists
run: npm run generate
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
BASE_BRANCH: master
BRANCH: gh-pages
FOLDER: .gh-pages
BUILD_SCRIPT: npm install && npm run generate
update-readme:
runs-on: ubuntu-latest
needs: generate