Merge branch 'bpftrace:master' into master #12
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 CSS with docs-website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout docs-website | |
uses: actions/checkout@v4 | |
- name: Push | |
run: | | |
git config --global user.name 'Style Sync' | |
git config --global user.email '' | |
git clone https://bpftrace:${{ secrets.SYNC_DOCS_WEBSITE }}@github.com/bpftrace/docs-website.git | |
cd docs-website | |
cp ../src/css/custom.css src/css/custom.css | |
git add src/css/custom.css | |
git commit -m 'Sync CSS from website' || true | |
git push |