Skip to content

Commit 6d3d514

Browse files
committed
Copy 404.html if viewer deployment not in root directory
1 parent 685fe5e commit 6d3d514

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/validate-and-process.yml

+4
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ jobs:
191191
rm -f "$TEMPFILE"
192192
fi
193193
cd "$OLD_WD"
194+
195+
if [ ! -z "404.html" ]; then
196+
cp "${{ inputs.viewer_path }}/404.html" .
197+
fi
194198
- name: Setup Pages
195199
if: ${{ github.event.repository.has_pages && !inputs.skip-pages }}
196200
uses: actions/configure-pages@v3

0 commit comments

Comments
 (0)