Skip to content

Instantly share code, notes, and snippets.

@glynnbird
Last active March 21, 2017 16:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glynnbird/2fb72a201d862f26ca3dc2f82d824b45 to your computer and use it in GitHub Desktop.
Save glynnbird/2fb72a201d862f26ca3dc2f82d824b45 to your computer and use it in GitHub Desktop.
My house temperature deployment script
#!/bin/bash
# create package encapsulating the environment variables
wsk package update alexa --param url "$CLOUDANT_URL" --param dbname "$CLOUDANT_DBNAME"
# add action to the package and make it web enabled
wsk action update alexa/myhousetemperature myhousetemperature.js -a web-export true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment