Skip to content

docs: update repo url #7

docs: update repo url

docs: update repo url #7

Workflow file for this run

name: sync-readme
on:
push:
branches:
- main
paths:
- README.md
jobs:
build:
permissions:
contents: write # to push README.md file to gh-pages branch
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
cp -f README.md ${{ runner.temp }}/README.md
- uses: actions/checkout@v4
with:
ref: gh-pages
- run: |
cp -f ${{ runner.temp }}/README.md .
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
git add README.md
git commit --signoff -m "Sync README from main"
git push