replace with mkdocs-include-markdown-plugin #7
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: Get latest inotify version | ||
on: | ||
<<<<<<< Updated upstream | ||
push: | ||
branches: | ||
- docs | ||
schedule: | ||
- cron: "*/1 * * * *" | ||
workflow_dispatch: | ||
permissions: | ||
contents: write | ||
======= | ||
schedule: | ||
- cron: "*/1 * * * *" | ||
workflow_dispatch: | ||
>>>>>>> Stashed changes | ||
jobs: | ||
update_version: | ||
runs-on: ubuntu-latest | ||
<<<<<<< Updated upstream | ||
======= | ||
>>>>>>> Stashed changes | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Get latest Inotify version | ||
run: | | ||
curl -s https://api.github.com/repos/inotify-tools/inotify-tools/releases/latest \ | ||
| grep "tag_name" \ | ||
| sed -E 's/.*"([^"]+)".*/\1/' \ | ||
<<<<<<< Updated upstream | ||
> docs/inotify_version | ||
- name: Add inotify_version to Git index | ||
run: | | ||
git add docs/inotify_version | ||
======= | ||
> inotify_version | ||
>>>>>>> Stashed changes | ||
- name: Commit and push changes | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
<<<<<<< Updated upstream | ||
git commit -m "Update Inotify version" | ||
git push | ||
======= | ||
git add inotify_version | ||
git commit -m "Update Inotify version" | ||
git push | ||
>>>>>>> Stashed changes |