-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub action to periodically update list of Google Fonts (#131)
- Loading branch information
1 parent
37b6b5a
commit 93db842
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |