Skip to content

Commit ba8e7bd

Browse files
committed
Add in the actions needed
- Still in dev mode
1 parent ad34a17 commit ba8e7bd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

script/cideploy

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@ JEKYLL_OUTPUT_FOLDER=_site
88

99
echo "$GITHUB_EVENT_NAME"
1010

11-
commitmessage=$(mktemp)
11+
commitmessage="Static commit message - $(date)"
1212
trap 'rm -f "$commitmessage"' EXIT
1313

14-
git log -1 --pretty=format:"GHA $GITHUB_RUN_NUMBER: \"%s\" by %an [%h] pushed to GitHub Pages
15-
16-
%b" > "$commitmessage"
17-
1814
echo -e "Starting to deploy to Github Pages\n"
1915

2016
if [[ $GITHUB_ACTIONS == true ]]; then
@@ -39,7 +35,7 @@ touch .nojekyll
3935
set -x
4036
#add, commit and push files
4137
git add -f -A
42-
git commit -F "$commitmessage"
38+
git commit -m "$commitmessage"
4339
if [[ -z $NO_PUSH ]]; then
4440
git push -fq origin test > /dev/null
4541
fi

0 commit comments

Comments
 (0)