Skip to content

docs: Update README.md #14

docs: Update README.md

docs: Update README.md #14

Workflow file for this run

name: 📰 Sync Readme
on:
push:
branches:
- main
paths:
- "README.md"
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref_name }}
jobs:
sync-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Sync Readme.md
run: |
git fetch --depth=1 origin gh-pages
git checkout gh-pages
git checkout main -- README.md
git add README.md
git commit -m "chore: sync readme"
git push origin gh-pages