From d2323d603861d888fb66a67ccb05ee73809e16bf Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 13 Jul 2020 19:47:46 -0400 Subject: [PATCH] Update webmentions.yml [skip ci] --- .github/workflows/webmentions.yml | 5 +++-- .prettierignore | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) 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/