Add date and time to deployment script
This commit is contained in:
parent
6cde47928a
commit
19feb92e29
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ git clone git@codeberg.org:docs/pages.git pages.git
|
|||
rsync -av _site/* pages.git/
|
||||
( cd pages.git && git checkout --orphan current ) ## create new branch at origin
|
||||
( cd pages.git && git add -A ) ## add all generated files
|
||||
( cd pages.git && git commit -am "deployment" ) ## commit all
|
||||
( cd pages.git && git commit -am "Deployment at $(date -u -Is)" ) ## commit all
|
||||
( cd pages.git && git branch -D main ) ## delete old main branch incl. history
|
||||
( cd pages.git && git branch -m main ) ## rename current branch to main
|
||||
( cd pages.git && git push -f origin main ) ## force-push and rewrite (empty) history
|
||||
|
|
Loading…
Reference in a new issue