Skip to content

Commit

Permalink
👷 Setup job to pull wiki submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
gwennlbh committed May 5, 2024
1 parent 5bd0a96 commit 0b7a7de
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Update submodules

on:
workflow_dispatch: {}

jobs:
pull:
runs-on: ubuntu-latest
steps:
- uses: extractions/setup-just@v2
- run: just pull-wiki
- run: just parser-data
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update parser data from wiki
4 changes: 4 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ install:
just build
cp hyprls ~/.local/bin/hyprls

pull-wiki:
git submodule update --init --recursive
cd hyprland-wiki; git pull

parser-data:
#!/bin/bash
set -euxo pipefail
Expand Down

0 comments on commit 0b7a7de

Please sign in to comment.