-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into nutrients-kp-kickstart
- Loading branch information
Showing
166 changed files
with
289 additions
and
24,691 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,10 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Upgrade assets | ||
run: chmod +x knowledge_panels/build_html.py && knowledge_panels/build_html.py | ||
run: | | ||
cd knowledge_panels | ||
python3 -m pip install -r requirements.txt --user | ||
python3 build_html.py additives ingredients | ||
- name: Check for uncommitted changes | ||
id: check-changes | ||
|
@@ -29,7 +32,7 @@ jobs: | |
id: cpr | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
base: develop | ||
base: main | ||
commit-message: Automated update of additives HTML files | ||
committer: GitHub <[email protected]> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
|
This file contains 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 contains 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 contains 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 contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
release-please: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: GoogleCloudPlatform/[email protected] | ||
- uses: googleapis/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
release-type: simple |
This file contains 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 contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
### How to add a new additive card ? | ||
### How to generate HTML pages for additives from the Yaml page ? | ||
### How to commit those pages as a pull request ? | ||
|
||
Install the dependencies, then run the command with the list of directories containing the yaml files. | ||
|
||
```bash | ||
python3 build_html.py additives ingredients | ||
``` | ||
|
||
The name of the directory must correspond to a tag type (ex: additives, ingredients, etc). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.