Skip to content

Commit

Permalink
Merge pull request #13 from chhsia0/chhsia0-patch-11
Browse files Browse the repository at this point in the history
Update main.go
  • Loading branch information
Chun-Hung Hsiao authored Nov 9, 2020
2 parents 6620f0c + 3e76b54 commit 6b3c8d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dispatchfile.star
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ task("deploy",
action(tasks=["deploy"], on=push(branches=["master"]))
action(tasks=["test"], on=pull_request(targets=["master"]))
action(tasks=["test"], on=pull_request(targets=["master"], chatops=["test"]))
action(tasks=["deploy"], on=p.Condition(release=p.ReleaseCondition(tags=["0.0.*"])))
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func hello(w http.ResponseWriter, r *http.Request) {
Hello, world!<br>
Version: %s<br>
Build time: %s<br>
Want some beer?
Welcome to Dispatch
</p></body>
</html>
`, Version, Buildtime)
Expand Down

0 comments on commit 6b3c8d3

Please sign in to comment.