From a6e600a7214bcf90d362ac90760decdb78cbdc41 Mon Sep 17 00:00:00 2001 From: Tom Birdsong Date: Wed, 30 Mar 2022 14:52:27 -0400 Subject: [PATCH] ENH: Adjust site dir for Fleek container reference --- .fleek.json | 2 +- .github/workflows/build-test-publish.yml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.fleek.json b/.fleek.json index 8472d4066..babdc1e96 100644 --- a/.fleek.json +++ b/.fleek.json @@ -1,5 +1,5 @@ { "build": { - "publicDir": "/home/runner/work/site" + "publicDir": "./site" } } diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index cf2b7f30a..cfef8a12f 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -290,6 +290,8 @@ jobs: python -m pip install --ignore-installed six python -m pip install ipython + echo "Workspace: ${{ GITHUB_WORKSPACE }}" + - name: Remove Duplicate Declaration Warnings run: | SITE_PACKAGES_DIR=$(python3 "-c" "from distutils import sysconfig; print(sysconfig.get_python_lib())") @@ -362,15 +364,16 @@ jobs: - name: Unpack site shell: bash run: | - mkdir /home/runner/work/site - tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C /home/runner/work/site + mkdir ${{ GITHUB_WORKSPACE }}/site + echo "Unpack to ${{ GITHUB_WORKSPACE }}/site" + tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C ${{ GITHUB_WORKSPACE }}/site - name: Deploy website to Fleek uses: fleekhq/action-deploy@v1 id: deploy with: apiKey: ${{ secrets.FLEEK_API_KEY }} - workDir: /home/runner/work/Ex + #workDir: /home/runner/work/Ex timeout-minutes: 15 - name: Get Fleek output URL