From d592b149436b4e752c02b5fecd2811a9ed707520 Mon Sep 17 00:00:00 2001 From: James Muehlner Date: Thu, 17 Oct 2024 00:03:09 +0000 Subject: [PATCH] GUACAMOLE-1993: Provide built manual as github artifact as part of PR build. --- .github/workflows/pr-build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 8408b319..1fd452a5 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -26,4 +26,16 @@ jobs: - name: Build Docker container shell: sh run: | - docker build --pull --no-cache --force-rm . + docker build --pull --no-cache --tag built-manual-image . + docker create --name built-manual-container built-manual-image + docker cp built-manual-container:/usr/local/apache2/htdocs "$RUNNER_TEMP/htdocs" + docker container rm --force --volumes built-manual-container + docker image rm --force built-manual-image + + - name: Upload built manual HTTP root + uses: actions/upload-artifact@v4 + with: + name: built-manual + path: ${{ runner.temp }}//htdocs + retention-days: 1 +