sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->John: Fight against hypochondria
end
Note right of John: Rational thoughts <br/>prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->John: Fight against hypochondria
end
Note right of John: Rational thoughts prevail...
John-->Alice: Great!
John->Bob: How about you?
Bob-->John: Jolly good!
#!/bin/bash
echo -e "\033[0;32mDeploying updates to GitHub...\033[0m"# build the projecthugo -t even
cd public
git add .
msg="rebuilding site `date`"if[$# -eq 1]thenmsg="$1"figit commit -m "$msg"# push source to githubgit push upstream master
# come back to blog rootcd ..
#build sitehugo-teven# add files to gitcd publicgitadd-A#set up commit message$msg="rebuilding site "+(Get-Date)If($args[0]){$msg=$args[0]}#commit and push public repogitcommit-m$msggitpushoriginmaster#and back out and commit and push source repocd ..gitadd-Agitcommit-m$msggitpushoriginmaster