Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/tutorials #262

Merged
merged 11 commits into from
Dec 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,21 @@ jobs:
with:
source: architectures/index.scss
destination: architectures/index.css

- name: Compile sass for tutorials
uses: gha-utilities/[email protected]
with:
source: wiki-tutorials/index.scss
destination: wiki-tutorials/index.css

# asciidoctor tries to load gems dynamically to convert md and scss files.
# As this gems are not installed this is breaking the build.
- name: Remove files that are breaking the build
run: |
rm architectures/README.md || true
rm architectures/index.scss || true
rm wiki-tutorials/README.md || true
rm wiki-tutorials/index.scss || true

- name: npm install for asciidoctor-stylesheet
run: |
Expand Down Expand Up @@ -125,6 +133,15 @@ jobs:
run: |
cp -avr architectures/target/generated-docs/ target/generated-docs/website/pages/architectures/

- name: Create output for tutorials
run: |
chmod +x wiki-tutorials/scripts/createOutput.sh
wiki-tutorials/scripts/createOutput.sh

- name: Copy output of tutorials
run: |
cp -avr wiki-tutorials/target/generated-docs/ target/generated-docs/website/pages/learning/

- name: Build and test search engine
run: |
cd website/components/header/search-engine
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<module>website</module>
<module>search-engine</module>
<module>architectures</module>
<module>wiki-tutorials</module>
</modules>

<properties>
Expand Down