Skip to content

Commit

Permalink
feature/IVYPORTAL-18151-Create-Github-Action-for-Building-Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ntloc-axonivy committed Dec 26, 2024
1 parent 7fe5d47 commit e79cb43
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/portal-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,18 +50,20 @@ jobs:

shell: bash

- name: Build Docker image for building
run: docker build -t build-portal-modules -f build/Dockerfile .
# - name: Build Docker image for building
# run: docker build -t build-portal-modules -f build/Dockerfile .

- name: Build Modules
id: build
run: |
addgroup --gid 1001 build && adduser --uid 1001 --gid 1001 --disabled-password --gecos "" build
MODULES=("AxonIvyPortal/portal-components" "AxonIvyPortal/portal" "AxonIvyPortal/PortalKitTestHelper" "Showcase/portal-user-examples" "Showcase/portal-developer-examples" "Showcase/InternalSupport" "Showcase/portal-components-examples")
BUILT_MODULES=()
for MODULE in "${MODULES[@]}"; do
MODULE_NAME=$(basename $MODULE)
docker run --rm build-portal-modules mvn clean install -f ${MODULE}/pom.xml
mvn clean install -f ${MODULE}/pom.xml
BUILT_MODULES+=("$MODULE")
done
Expand Down

0 comments on commit e79cb43

Please sign in to comment.