diff --git a/.github/workflows/portal-documentation.yaml b/.github/workflows/portal-documentation.yaml index 34e2e85839..56c03315ac 100644 --- a/.github/workflows/portal-documentation.yaml +++ b/.github/workflows/portal-documentation.yaml @@ -28,11 +28,11 @@ jobs: with: maven-version: 3.9.8 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ vars.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + # - name: Login to Docker Hub + # uses: docker/login-action@v3 + # with: + # username: ${{ vars.DOCKERHUB_USERNAME }} + # password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Get current version id: get_version @@ -59,11 +59,6 @@ jobs: shell: bash run: chmod +x Documentation/portal-guide/substitute.sh && Documentation/portal-guide/substitute.sh ${{ inputs.ivyVersion }} - # - name: Build HTML documentation - # uses: docker://axonivy/build-container:read-the-docs-2 - # with: - # args: make -C /doc-build html BASEDIR=${{ github.workspace }}/Documentation/portal-guide VERSION=${{ steps.get_version.outputs.version }} - - name: Build Documentation HTML run: | docker run -u root:root --rm -v ${{ github.workspace }}:/workspace -w /workspace/Documentation/portal-guide \ @@ -76,59 +71,7 @@ jobs: path: | Documentation/*/build/html/**/* Documentation/*/target/*.zip - - # build-document: - # runs-on: portal-01 - # needs: prepare-document - # steps: - # - name: Build HTML documentation with Read the Docs - # container: - # image: axonivy/build-container:read-the-docs-2 - # env: - # BASEDIR: ${{ github.workspace }}/Documentation/portal-guide - # VERSION: ${{ needs.prepare-document.outputs.documentVersion }} - # run: make -C /doc-build html - - # uses: docker://axonivy/build-container:read-the-docs-2 - # with: - # entrypoint: "make" - # env: - # BASEDIR: ${{ github.workspace }}/Documentation/portal-guide - # VERSION: ${{ needs.prepare-document.outputs.documentVersion }} - # args: ["-C", "/doc-build", "html"] - # - name: Cleanup - # shell: bash - # run: | - # rm -r --force ${{ github.workspace }}\* - # unzip-screenshot: - # runs-on: portal-01 - # needs: get-current-version - # steps: - # - name: Unzip portal screenshots - # run: | - # unzip /mnt/portal02/document-screenshots/portal-document-screenshots-selenide-${{ needs.get-current-version.outputs.documentVersion }}.zip \ - # -d Documentation/portal-guide/source/screenshots - - # test-another-job: - # runs-on: portal-01 - # needs: get-current-version - # container: - # image: axonivy/build-container:read-the-docs-2 - # steps: - # - name: test-1 - # run: echo ${{ needs.get-current-version.outputs.documentVersion }} - - - - # - run: echo "🎉 The job was manually triggered by a ${{ inputs.ivyVersion }} event." - # - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - # - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - # - name: Check out repository code - # uses: actions/checkout@v4 - # - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." - # - run: echo "🖥️ The workflow is now ready to test your code on the runner." - # - name: List files in the repository - # run: | - # ls ${{ github.workspace }} - # - run: echo "🍏 This job's status is ${{ job.status }}." + - name: Cleanup + shell: bash + run: rm -r --force ${{ github.workspace }}\*