Skip to content

Commit

Permalink
oh dear god I hope this works
Browse files Browse the repository at this point in the history
  • Loading branch information
TangentFoxy committed Jul 12, 2016
1 parent ac4d2a5 commit 707f6c2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app.moon
Expand Up @@ -5,11 +5,12 @@ import respond_to from require "lapis.application"
class extends lapis.Application
[update: "/update"]: respond_to {
GET: =>
-- do fuck all
return 404
POST: =>
print "all the shit!"
--and then actually run commands
os.execute("pwd > /root/file")
os.execute("git pull origin")
os.execute("moonc .")
os.execute("lapis migrate production")
os.execute("lapis build production")
}

"/": =>
Expand Down

0 comments on commit 707f6c2

Please sign in to comment.