Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change deployment on SSP Cloud with new filesystem organization (#227)
* fix ci problem * Tweak * extension * prod * Automated changes * ajoute les headers * Automated changes * done * Automated changes Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
12965ba
commit 4fc58e5
Showing
5 changed files
with
23 additions
and
9 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import yaml | ||
|
||
with open("_quarto.yml", "r") as stream: | ||
config = yaml.load(stream, Loader=yaml.FullLoader) | ||
|
||
with open('diff') as f: | ||
lines = f.read().splitlines() | ||
|
||
lines = [l for l in lines if l.endswith('.qmd') ] | ||
lines += [f"content/course/{dir}/index.md" for dir in ["manipulation","visualisation","modelisation"]] | ||
|
||
config['project']['render'] = lines | ||
|
||
with open('_quarto.yml', 'w') as outfile: | ||
yaml.dump(config, outfile, default_flow_style=False) | ||
|
||
print("Done") |
File renamed without changes.
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