Skip to content

Commit

Permalink
Add GitHub action to periodically update list of Google Fonts (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy authored Jan 28, 2020
1 parent 37b6b5a commit 93db842
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-google-fonts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update Dependencies
on:
schedule:
- cron: '0 12 * * 1'
jobs:
update-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Update list of Google Fonts
id: vars
run: |
npm install
npm run download-fonts
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update list of Google Fonts
title: Update list of Google Fonts
body: Fetched the currently available fonts on Google Fonts to update them in the project.
branch: update/google-fonts

0 comments on commit 93db842

Please sign in to comment.