Skip to content

Commit 4c32c98

Browse files
authored
Merge pull request #339 from InsightSoftwareConsortium/fleek-container-path
ENH: Adjust site dir for Fleek container reference
2 parents d07c593 + a6e600a commit 4c32c98

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.fleek.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"build": {
3-
"publicDir": "/home/runner/work/site"
3+
"publicDir": "./site"
44
}
55
}

.github/workflows/build-test-publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ jobs:
290290
python -m pip install --ignore-installed six
291291
python -m pip install ipython
292292
293+
echo "Workspace: ${{ GITHUB_WORKSPACE }}"
294+
293295
- name: Remove Duplicate Declaration Warnings
294296
run: |
295297
SITE_PACKAGES_DIR=$(python3 "-c" "from distutils import sysconfig; print(sysconfig.get_python_lib())")
@@ -362,15 +364,16 @@ jobs:
362364
- name: Unpack site
363365
shell: bash
364366
run: |
365-
mkdir /home/runner/work/site
366-
tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C /home/runner/work/site
367+
mkdir ${{ GITHUB_WORKSPACE }}/site
368+
echo "Unpack to ${{ GITHUB_WORKSPACE }}/site"
369+
tar --strip-components=1 -xf /home/runner/work/bld/ITKEx-build/ITKSphinxExamples-*-html.tar.gz -C ${{ GITHUB_WORKSPACE }}/site
367370
368371
- name: Deploy website to Fleek
369372
uses: fleekhq/action-deploy@v1
370373
id: deploy
371374
with:
372375
apiKey: ${{ secrets.FLEEK_API_KEY }}
373-
workDir: /home/runner/work/Ex
376+
#workDir: /home/runner/work/Ex
374377
timeout-minutes: 15
375378

376379
- name: Get Fleek output URL

0 commit comments

Comments
 (0)