Skip to content

Commit

Permalink
Merge pull request #339 from InsightSoftwareConsortium/fleek-containe…
Browse files Browse the repository at this point in the history
…r-path

ENH: Adjust site dir for Fleek container reference
  • Loading branch information
tbirdso authored Mar 30, 2022
2 parents d07c593 + a6e600a commit 4c32c98
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .fleek.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"build": {
"publicDir": "/home/runner/work/site"
"publicDir": "./site"
}
}
9 changes: 6 additions & 3 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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())")
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4c32c98

Please sign in to comment.