mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
github: fixup openring update workflow
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
3e7a01d8f3
commit
ff78ecf9d2
15
.github/workflows/update_openring.yml
vendored
15
.github/workflows/update_openring.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
name: Update openring data
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 6'
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
update-publicsuffix-data:
|
||||
|
@ -10,9 +10,22 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.15'
|
||||
|
||||
- name: Install openring
|
||||
run: go get git.sr.ht/~sircmpwn/openring
|
||||
|
||||
- name: Run openring
|
||||
run: ./scripts/openring.sh
|
||||
|
||||
- name: Initialize git config
|
||||
run: |
|
||||
git config user.name "GitHub Actions"
|
||||
git config user.email noreply@github.com
|
||||
|
||||
- name: Commit and push changes
|
||||
run: |
|
||||
git add layouts/partials/openring.html
|
||||
|
|
Loading…
Reference in New Issue
Block a user