Skip to content

Commit 028a022

Browse files
NaishengNaisheng
authored andcommitted
Fix video poster paths for GitHub Pages
1 parent f923863 commit 028a022

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/deploy-pages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
cp index.html _site/index.html
3232
cp app/globals.css _site/app/globals.css
3333
cp -R public/. _site/
34-
sed -i 's|src="/|src="./|g; s|public/videos/|videos/|g; s|https://opendrivelab.github.io/Haco/public/og.png|https://opendrivelab.github.io/Haco-Page/og.png|g' _site/index.html
34+
sed -i 's|src="/|src="./|g; s|poster="/|poster="./|g; s|public/videos/|videos/|g; s|https://opendrivelab.github.io/Haco/public/og.png|https://opendrivelab.github.io/Haco-Page/og.png|g' _site/index.html
3535
sed -i 's|../public/|../|g' _site/app/globals.css
3636
touch _site/.nojekyll
3737

0 commit comments

Comments
 (0)