diff --git a/.github/workflows/webmentions.yml b/.github/workflows/webmentions.yml index ef8ac032..770df1e8 100644 --- a/.github/workflows/webmentions.yml +++ b/.github/workflows/webmentions.yml @@ -13,10 +13,11 @@ jobs: fetch-depth: 1 lfs: false - name: Get webmentions data - run: | - wget -nv -O data/webmentions.json "https://webmention.io/api/mentions.json?domain=jarv.is&token=$WEBMENTIONS_TOKEN" + run: wget -nv -O data/webmentions.json "https://webmention.io/api/mentions.json?domain=jarv.is&token=$WEBMENTIONS_TOKEN" env: WEBMENTIONS_TOKEN: ${{ secrets.WEBMENTIONS_TOKEN }} + - name: Format JSON + run: npx prettier --write data/webmentions.json - name: Push changes run: | git config --global user.name "github-actions[bot]" diff --git a/.prettierignore b/.prettierignore index c5f83480..8909a0d6 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,5 @@ # Hugo stuff that doesn't play well with Prettier assets/**/vendor/ -data/ layouts/ static/