8000 refactor!: remove legacy Ristretto cache · dunglas/mercure@7b7ccb9 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

refactor!: remove legacy Ristretto cache #48

refactor!: remove legacy Ristretto cache

refactor!: remove legacy Ristretto cache #48

Workflow file for this run

name: Publish Docs
on:
push:
branches:
- main
paths:
- docs/**
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Revalidate changed pages
run: |
shopt -s globstar
FILES=$(git --no-pager diff --name-only HEAD~1 -- docs/**/*.md | awk 'BEGIN{RS="\n"} {printf "%s%s",sep,$0; sep="&files="}')
curl --silent --fail-with-body "https://mercure.rocks/api/revalidate?secret=${{ secrets.REVALIDATE_TOKEN }}&files=$FILES"
0