diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index b22ce9082..a5ff0e9bc 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -69,7 +69,7 @@ jobs: doc: name: "Documentation build" - runs-on: public-ubuntu-latest-8-cores + runs-on: ubuntu-latest needs: [doc-style] steps: - name: "Checkout project" @@ -110,25 +110,19 @@ jobs: docker pull ghcr.io/ansys/ls-pre:latest docker run -d --name kw_server -p 50051:50051 ghcr.io/ansys/ls-pre:latest && echo "Keyword server active on port 50051." - - name: Build local LS-DYNA Solver runner image + - name: Pull PyDyna-run image run: | - cd docker/run - docker build . -t dyna_run \ - --build-arg LSTC_LICENSE=ansys \ - --build-arg ANSYSLI_SERVERS=2325@${{secrets.LICENSE_SERVER}} \ - --build-arg ANSYSLMD_LICENSE_FILE=1055@${{secrets.LICENSE_SERVER}} - docker image ls - cd ../.. + docker pull ghcr.io/ansys/pydyna-run:latest - name: "Build the html documentation" env: - PYDYNA_RUN_CONTAINER: dyna_run:latest + PYDYNA_RUN_CONTAINER: ghcr.io/ansys/pydyna-run:latest run: | xvfb-run make -C doc html - name: "Build the pdf documentation" env: - PYDYNA_RUN_CONTAINER: dyna_run:latest + PYDYNA_RUN_CONTAINER: ghcr.io/ansys/pydyna-run:latest run: | make -C doc pdf