Skip to content

Commit 2b20c22

Browse files
committed
haskellfoundation#23 Make a site deployment per branch
1 parent 93b9b64 commit 2b20c22

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deploy.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ rm -rf "${site_dest}"
2828
mkdir -p "${site_dest}"
2929
cp -a -v "${site_src}" "${site_dest}"
3030

31-
# Commit
3231
git add --all
3332
git commit --allow-empty -m "[$(date '+%F %T %Z')] Updated site for the '${git_branch}' branch [ci skip]"
34-
# Push
35-
git push --force --quiet origin gh-pages >/dev/null 2>&1
33+
git push --force origin gh-pages
3634

3735
echo "Deployment finished"

0 commit comments

Comments
 (0)