Skip to content

Commit

Permalink
feat: Add .envrc and slack.sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian May committed Nov 20, 2024
1 parent 223e5b2 commit 5c4f952
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/result
/result-bin
/.direnv
/.envrc
12 changes: 12 additions & 0 deletions slack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env sh
set -e

export SLACK_URL
export SLACK_API_TOKEN
export SLACK_CHANNEL

SLACK_URL="$(pass show ea/slack/url)"
SLACK_API_TOKEN="$(pass show ea/slack/token)"
SLACK_CHANNEL="$(pass show ea/slack/token)"

exec "$@"

0 comments on commit 5c4f952

Please sign in to comment.