Add more IndieWeb meta tags to page, modify rel=me comment #3
This file contains hidden or 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 to gh-pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - README.md | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout master | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: master | |
| fetch-depth: 0 | |
| - name: Save README from master | |
| run: cp README.md /tmp/README.md | |
| - name: Checkout gh-pages | |
| run: | | |
| git fetch origin gh-pages | |
| git checkout gh-pages | |
| - name: Replace README | |
| run: | | |
| cp /tmp/README.md README.md | |
| - name: Commit if changed | |
| run: | | |
| git config user.name "github-actions" | |
| git config user.email "github-actions@github.com" | |
| if git diff --quiet README.md; then | |
| echo "No changes to commit" | |
| exit 0 | |
| fi | |
| git add README.md | |
| git commit -m "Sync README from master" | |
| git push origin gh-pages |