Skip to content

[chore] Add marcschaeferger to triager section (#2391) #11

[chore] Add marcschaeferger to triager section (#2391)

[chore] Add marcschaeferger to triager section (#2391) #11

Workflow file for this run

name: Sync README to gh-pages
permissions: {}
on:
push:
branches:
- main
paths:
- 'README.md'
jobs:
sync:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Copy README to temp
run: cp -f README.md ${{ runner.temp }}/README.md
- name: Checkout gh-pages
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: gh-pages
- name: Sync README and push
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" || exit 0
git push