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

added devonfw/journey to build-and-deploy.yml #324

Merged
merged 11 commits into from
Jun 21, 2022
33 changes: 32 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,17 @@ jobs:
run: |
chmod +x wiki-tutorials/scripts/copyPomFiles.sh
wiki-tutorials/scripts/copyPomFiles.sh


- name: npm install for Journey/scripts
run: |
cd journeys/scripts
npm install
cd ../../

- name: Copy pom files for journeys
run: |
node journeys/scripts/copyPomFiles.js

- name: npm install for solutions
run: |
cd solutions/scripts
Expand All @@ -72,6 +82,12 @@ jobs:
npm install
cd ../../

- name: npm install for Journeys/app
run: |
cd journeys/app
npm install
cd ../../

- name: Fix includes of solutions
run: |
node solutions/scripts/fixIncludeFiles.js ./solutions/solutions/ ./solutions/includes/
Expand Down Expand Up @@ -154,6 +170,15 @@ jobs:
run: |
cp -avr wiki-tutorials/target/generated-docs/ target/generated-docs/website/pages/learning/

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

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

- name: Create JSONs for journeys
run: |
node journeys/scripts/createJourneyJsons.js target/generated-docs/website/pages/journey_content/
Expand All @@ -162,6 +187,12 @@ jobs:
run: |
cp -avr journeys/app target/generated-docs/website/pages/journeys/

- name: ng build for journeys
run: |
cd journeys/app
ng build --base-href /website/pages/journeys
cp /dist/devon4ng-matlayout/. target/generated-docs/website/pages/journeys/

- name: Build and test search engine
run: |
cd website/components/header/search-engine
Expand Down