diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile.toml | 15 |
2 files changed, 16 insertions, 0 deletions
@@ -17,6 +17,7 @@ Cargo.lock /src/_*.* /whirl.sqlite3 /Whirl.toml +/.secrets # DB Browser /whirl.sqlite3-shm diff --git a/Makefile.toml b/Makefile.toml index d59bf4f..fec5a68 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -100,3 +100,18 @@ args = [ [tasks.bnl] dependencies = ["docker-build", "docker-load"] +[tasks.ask-discord-token] +script = ''' +#!@duckscript + +echo github token: +github_token = read + +echo set ${github_token} as the current github token +set_env GITHUB_TOKEN ${github_token} +''' + +[tasks.act] +dependencies = ["ask-discord-token"] +command = "act" +args = ["-s", "GITHUB_TOKEN=${GITHUB_TOKEN}"] |