diff --git a/.github/workflows/update-hyprland-keybindings.yml b/.github/workflows/update-hyprland-keybindings.yml new file mode 100644 index 0000000..2a0550e --- /dev/null +++ b/.github/workflows/update-hyprland-keybindings.yml @@ -0,0 +1,24 @@ +on: + push: + paths: + - 'home/system/hyprland/bindings.nix' +permissions: + contents: write +jobs: + update-readme: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./ + steps: + - name: Check out the repository to the runner + uses: actions/checkout@v4 + - name: Run a script + run: | + chmod +x ./docs/scripts/keybindings_to_markdown.sh + ./docs/scripts/keybindings_to_markdown.sh + git config user.name github-actions + git config user.email github-actions@github.com + git add . + git commit -m "Update KEYBINDINGS-HYPRLAND.md (auto)" + git push