1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 16:25:31 -04:00

some repo clean-up

This commit is contained in:
2022-01-04 22:19:28 -05:00
parent 32262b0041
commit b1687df25b
9 changed files with 2 additions and 278 deletions

View File

@@ -13,13 +13,3 @@ updates:
commit-message:
prefix: "📦 npm:"
open-pull-requests-limit: 99
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
labels:
- "📦 dependencies"
commit-message:
prefix: "📦 ci:"
open-pull-requests-limit: 99

View File

@@ -1,27 +0,0 @@
name: Fetch Webmentions
on:
schedule:
- cron: "0 */12 * * *" # run every twelve hours at top of hour
workflow_dispatch:
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
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"
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]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -am "Add new webmentions 🎉" || echo "No new mentions... 😢"
git push origin main