Skip to content

Webmentions

Webmentions #4824

Workflow file for this run

name: Webmentions
on:
schedule:
- cron: "0 */2 * * *"
workflow_dispatch:
jobs:
webmentions:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install package
run: npm install
- name: Fetch webmentions
run: node ./src/webmentions.js
- name: Commit to repository
run: |
git config user.name heyjaywilson
git config user.email contact@cctplus.dev
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/heyjaywilson/heyjaywilsoncom.git
git checkout main
git add .
git diff --quiet && git diff --staged --quiet || git commit -m "[generated]: Update webmentions"
git push origin main