Skip to content

Commit

Permalink
fix script for macOS on deployDemo and update gh-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Florent-Bouisset committed Oct 16, 2024
1 parent decbc9d commit 1dd8de0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions scripts/deploy_new_demo
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ tmpRxPlayerFile=$(mktemp)
tmpIndexFile=$(mktemp)
tmpFaviconFile=$(mktemp)

cp -r demo/full/fonts $tmpFontsDir -v
cp -r demo/full/assets $tmpAssetsDir -v
cp -r demo/full/styles $tmpStylesDir -v
cp demo/full/bundle.js $tmpDemoFile -v
cp demo/full/index.html $tmpIndexFile -v
cp demo/full/plus.ico $tmpFaviconFile -v
cp -rv demo/full/fonts $tmpFontsDir
cp -rv demo/full/assets $tmpAssetsDir
cp -rv demo/full/styles $tmpStylesDir
cp -v demo/full/bundle.js $tmpDemoFile
cp -v demo/full/index.html $tmpIndexFile
cp -v demo/full/plus.ico $tmpFaviconFile

# update gh-pages
git checkout gh-pages
Expand Down
14 changes: 7 additions & 7 deletions scripts/update_gh-pages_demo
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ tmpIndexFile=$(mktemp)
tmpFaviconFile=$(mktemp)
tmpDemoList=$(mktemp)

cp -r demo/full/fonts $tmpFontsDir -v
cp -r demo/full/assets $tmpAssetsDir -v
cp -r demo/full/styles $tmpStylesDir -v
cp demo/full/bundle.js $tmpDemoFile -v
cp demo/full/index.html $tmpIndexFile -v
cp demo/full/plus.ico $tmpFaviconFile -v
cp scripts/generate_demo_list.mjs $tmpDemoList -v
cp -rv demo/full/fonts $tmpFontsDir
cp -rv demo/full/assets $tmpAssetsDir
cp -rv demo/full/styles $tmpStylesDir
cp -v demo/full/bundle.js $tmpDemoFile
cp -v demo/full/index.html $tmpIndexFile
cp -v demo/full/plus.ico $tmpFaviconFile
cp -v scripts/generate_demo_list.mjs $tmpDemoList

# update gh-pages
git checkout gh-pages
Expand Down

0 comments on commit 1dd8de0

Please sign in to comment.