Skip to content

Commit

Permalink
Merge pull request #42 from lumag/auto-regen
Browse files Browse the repository at this point in the history
Automatically regenerate templates
  • Loading branch information
lumag authored Aug 29, 2023
2 parents bbaa448 + 31281bf commit b03c4d4
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 671 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Regenerate templates
run: ./regen.py
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/premerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
ruby-version: '3.0'
bundler-cache: true
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Regenerate templates
run: ./regen.py
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "/msm/pr-preview/pr-${{github.event.number}}"
- name: Upload artifact
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ _site
vendor
_soc.template
_pmic.template

# autogenerated during build
_includes/full_*
_includes/index_*
_includes/layout_*
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ bundle install

- Just rebuild the data:
```
./regen.py
bundle exec jekyll build
```
Now you can check the HTML data built in `./_site/`.
Expand Down
41 changes: 0 additions & 41 deletions _includes/full_pmic_header.liquid

This file was deleted.

33 changes: 0 additions & 33 deletions _includes/full_pmic_status.liquid

This file was deleted.

110 changes: 0 additions & 110 deletions _includes/full_soc_header.liquid

This file was deleted.

89 changes: 0 additions & 89 deletions _includes/full_soc_status.liquid

This file was deleted.

33 changes: 0 additions & 33 deletions _includes/index_pmic_header.liquid

This file was deleted.

25 changes: 0 additions & 25 deletions _includes/index_pmic_status.liquid

This file was deleted.

Loading

0 comments on commit b03c4d4

Please sign in to comment.