Skip to content

Commit

Permalink
Copy 404.html if viewer deployment not in root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Feb 2, 2024
1 parent 685fe5e commit 6d3d514
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/validate-and-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ jobs:
rm -f "$TEMPFILE"
fi
cd "$OLD_WD"
if [ ! -z "404.html" ]; then
cp "${{ inputs.viewer_path }}/404.html" .
fi
- name: Setup Pages
if: ${{ github.event.repository.has_pages && !inputs.skip-pages }}
uses: actions/configure-pages@v3
Expand Down

0 comments on commit 6d3d514

Please sign in to comment.