From 36cf20ee13618746a5e64853f28a7feb9de53757 Mon Sep 17 00:00:00 2001 From: GitHub <bot@example.com> Date: Sun, 29 Jan 2023 07:15:54 +0100 Subject: [PATCH] ci: deploy using multiple commits --- scripts/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 148d45b..368ceab 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -36,7 +36,7 @@ function deployAsSingleCommit() { } function deploy() { - cp -avr "$WEB_DIR/public/"* "$ECLIPSE_REPO_DIR"git --git-dir "$ECLIPSE_REPO_DIR/.git" --work-tree "$ECLIPSE_REPO_DIR" commit -m "CI: Website updated" --signoff + cp -avr "$WEB_DIR/public/"* "$ECLIPSE_REPO_DIR" git --git-dir "$ECLIPSE_REPO_DIR/.git" --work-tree "$ECLIPSE_REPO_DIR" add "$ECLIPSE_REPO_DIR" git --git-dir "$ECLIPSE_REPO_DIR/.git" --work-tree "$ECLIPSE_REPO_DIR" commit -m "CI: Website updated" --signoff git --git-dir "$ECLIPSE_REPO_DIR/.git" --work-tree "$ECLIPSE_REPO_DIR" push -f origin main