Skip to content

Commit 6f4fc22

Browse files
yuhattorrrrutledge
andauthored
Change of publishing path due to i18n support for innersourcecommons.org page (#515)
* Change of publishing path due to i18n support for innersourcecommons.org page * Update README.md * Note on keeping instructions in sync * Update publish-to-website.yml Co-authored-by: rrrutledge <rrrutledge@users.noreply.github.com>
1 parent cb655e1 commit 6f4fc22

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/publish-to-website.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,12 @@ jobs:
3838
node-version: 12
3939
- name: Build
4040
working-directory: InnerSourceLearningPath/scripts
41+
# The automated steps here need to be kept in sync manually with the written instructions at "/scripts/README.md"
42+
# ("generate_learning_path_markdown.js" and "How to update innersourcecommons.org with new articles" sections).
4143
run: |
4244
npm ci
4345
TOKEN=${{ secrets.GITHUB_TOKEN }} node generate_learning_path_markdown.js
44-
cp -r newsite/. ../../innersourcecommons.org/content/learn/learning-path/
46+
cp -r newsite/. ../../innersourcecommons.org/content/en/learn/learning-path/
4547
- name : Commit
4648
working-directory: innersourcecommons.org
4749
run: |

scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Anytime there are _any changes_, you need to run the script that generates the u
5050
3. Is there a whole new Learning Path section? If so:
5151
* update the ["sections" config](https://github.com/InnerSourceCommons/InnerSourceLearningPath/blob/main/scripts/section_data.json) with the new section and open a pull request for the change
5252
4. Run **generate_learning_path_markdown.js** as described above.
53-
4. `cp -r newsite/ <path-to-innersourcecommons.org-repo>/content/learn/learning-path/`.
53+
4. `cp -r newsite/ <path-to-innersourcecommons.org-repo>/content/en/learn/learning-path/`.
5454
4. Open a pull request with the modified files in the [InnerSourceCommons/innersourcecommons.org] repo.
5555

5656
[innersourcecommons.org]: https://innersourcecommons.org/

0 commit comments

Comments
 (0)