Skip to content

Commit 4f26384

Browse files
committed
haskellfoundation#23 Make a site deployment per branch
1 parent b17a18c commit 4f26384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-deploy.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ git pull origin gh-pages
2626
# Overwrite existing files with new files
2727
rm -rf "${site_dest}"
2828
mkdir -p "${site_dest}"
29-
cp -a -v "${site_src}/*" "${site_dest}/"
30-
cp -a -v "${site_src}/.*" "${site_dest}/"
29+
cp -a -v ${site_src}/* ${site_dest}/
30+
cp -a -v ${site_src}/.* ${site_dest}/
3131

3232
git add --all
3333
git commit --allow-empty -m "[$(date '+%F %T %Z')] Updated site for the '${git_branch}' branch [ci skip]"

0 commit comments

Comments
 (0)