Skip to content

chore(protect): remove note in readme #428

chore(protect): remove note in readme

chore(protect): remove note in readme #428

on:
pull_request:
types:
- closed
permissions:
pull-requests: write
contents: write
concurrency:
group: preview-pages-${{ github.ref }}
jobs:
clean-up:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Clean up
run: |
rm -rf pr-${{ github.event.number }}
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
if ! git diff --cached --quiet; then
git commit -m "Clean preview for pr-${{ github.event.number }}"
git push
fi