Update auto-update.yml

This commit is contained in:
Aleksandr Statciuk 2021-03-10 01:20:39 +03:00 committed by GitHub
parent 9464fed11b
commit 3f94db60aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +1,8 @@
name: auto-update
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: Format Playlists
run: node scripts/format.js
- name: Commit Changes
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git diff-index --quiet HEAD || git commit -m "[Bot] Format playlists"
git push
update-readme:
update-guide:
runs-on: ubuntu-latest
steps:
- name: Checkout