Merge pull request #15 from zainasir/disclaimer #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Readme | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'charts/cbioportal/README.md' | |
jobs: | |
build: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cp -f charts/cbioportal/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 |