refactor: move boot/reload key from TLTR to TL layer #16
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
| # This file was autogenerated by actions.nix. Do not edit it manually. | |
| # To make changes, edit the workflow definition in your flake's actions-nix configuration | |
| # (typically under flake.actions-nix.workflows.".github/workflows/keymap-drawer.yml") and run: | |
| # nix run .#render-workflows | |
| # Or commit to trigger the pre-commit hook if enabled. | |
| jobs: | |
| keymap-drawer: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@main | |
| with: | |
| fetch-depth: 1 | |
| - name: Install uv with caching | |
| uses: astral-sh/setup-uv@main | |
| with: | |
| enable-cache: 'true' | |
| - name: Install keymap-drawer | |
| run: uv tool install keymap-drawer | |
| - name: Run keymap-drawer for split keyboard | |
| run: keymap draw ./keymap-drawer/tltr.yml 1> assets/tltr.svg | |
| - name: Run keymap-drawer for ANSI keyboard | |
| run: keymap draw ./keymap-drawer/tltr-ansi.yml 1> assets/tltr-ansi.svg | |
| - env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| name: Push to repo | |
| run: |- | |
| git config --global user.name "GitHub Actions Bot" | |
| git config --global user.email bot@github.com | |
| git add . | |
| git commit -m "chore: update keymap-drawer assets" | |
| git push origin master | |
| timeout-minutes: 30 | |
| 'on': | |
| pull_request: | |
| branches: | |
| - master | |
| paths: | |
| - keymap-drawer/** | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - keymap-drawer/** | |
| workflow_dispatch: {} |