Skip to content

Commit

Permalink
feat(ci): add github action to autogenerate extra files (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Apr 11, 2023
1 parent b9a3385 commit 727a0ea
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/extra.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: extra
on:
workflow_dispatch:
push:
paths:
- "lua/nightfox/extra/**.lua"

jobs:
docs:
runs-on: ubuntu-latest
name: Generate extra files
steps:
- uses: actions/checkout@v2

- name: Setup Git
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Install Neovim
shell: bash
run: |
wget -q https://github.com/neovim/neovim/releases/download/nightly/nvim-linux64.deb -O /tmp/nvim.deb
sudo dpkg -i /tmp/nvim.deb
- name: Run "make extragen"
run: |
make extragen
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore(extra): generate extra files"
branch: ${{ github.head_ref }}

0 comments on commit 727a0ea

Please sign in to comment.