mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-27 13:25:46 -04:00
Update webmentions.yml
[skip ci]
This commit is contained in:
5
.github/workflows/webmentions.yml
vendored
5
.github/workflows/webmentions.yml
vendored
@@ -13,10 +13,11 @@ jobs:
|
|||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
lfs: false
|
lfs: false
|
||||||
- name: Get webmentions data
|
- name: Get webmentions data
|
||||||
run: |
|
run: wget -nv -O data/webmentions.json "https://webmention.io/api/mentions.json?domain=jarv.is&token=$WEBMENTIONS_TOKEN"
|
||||||
wget -nv -O data/webmentions.json "https://webmention.io/api/mentions.json?domain=jarv.is&token=$WEBMENTIONS_TOKEN"
|
|
||||||
env:
|
env:
|
||||||
WEBMENTIONS_TOKEN: ${{ secrets.WEBMENTIONS_TOKEN }}
|
WEBMENTIONS_TOKEN: ${{ secrets.WEBMENTIONS_TOKEN }}
|
||||||
|
- name: Format JSON
|
||||||
|
run: npx prettier --write data/webmentions.json
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
# Hugo stuff that doesn't play well with Prettier
|
# Hugo stuff that doesn't play well with Prettier
|
||||||
assets/**/vendor/
|
assets/**/vendor/
|
||||||
data/
|
|
||||||
layouts/
|
layouts/
|
||||||
static/
|
static/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user