github: add a workflow for weekly update of openring data

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-12 22:06:33 +05:30
parent 05f6395bff
commit 0dd4933712
1 changed files with 20 additions and 0 deletions

20
.github/workflows/update_openring.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Update openring data
on:
schedule:
- cron: '0 0 * * 6'
jobs:
update-publicsuffix-data:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run openring
run: ./scripts/openring.sh
- name: Commit and push changes
run: |
git add layouts/partials/openring.html
git commit --message "layouts: update openring"
git push origin src