Skip to content

feat: prepare github action workflows #1 #1

feat: prepare github action workflows #1

feat: prepare github action workflows #1 #1

Workflow file for this run

name: 'README sync'
on:
push:
branches:
- 'main'
paths:
- 'gh-pages-readme.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
cp -f gh-pages-readme.md ${{ runner.temp }}/README.md
- uses: actions/checkout@v3
with:
ref: gh-pages
- run: |
cp -f ${{ runner.temp }}/README.md .
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
git add README.md
git commit --signoff -m "Sync README from main"
git push