~gpo/weblog.lol-build

335cf9eb0090ee7d3bf6e462a4f7b19c581eb337 — Gil Oliveira 1 year, 11 months ago 63caebb
Keep the thing from sharing people's API keys with the world
2 files changed, 3 insertions(+), 2 deletions(-)

M .secretvars
M example.build.yml
M .secretvars => .secretvars +2 -2
@@ 1,8 1,8 @@
#!/usr/bin/env bash

set -x
set +x
export ADDRESS=foobar
export WEBLOG_API_KEY=insert-api-token-here
export REPO_NAME=myweblog
set +x
set -x


M example.build.yml => example.build.yml +1 -0
@@ 8,5 8,6 @@ tasks:
  - deploy: |
      cd $REPO_NAME
      wget -O weblog-import.php https://api.omg.lol/address/$ADDRESS/weblog/github-action
      set +x
      php -f weblog-import.php $ADDRESS $WEBLOG_API_KEY