Update 5 files
- /home/.chezmoitemplates/secrets/ghorg-fallback - /home/.chezmoitemplates/secrets/slack-term-fallback - /home/.chezmoitemplates/secrets/ngrok-fallback - /home/.chezmoitemplates/secrets/tailscale-fallback - /home/.chezmoitemplates/secrets/gist-fallback
This commit is contained in:
parent
eeadd70ed7
commit
098ace6509
5 changed files with 7 additions and 7 deletions
|
@ -149,7 +149,7 @@ GHORG_EXIT_CODE_ON_CLONE_ISSUES: 1
|
|||
|
||||
# Add your GitHub token
|
||||
# flag (--token, -t) eg: --token=bGVhdmUgYSBjb21tZW50IG9uIGlzc3VlIDY2
|
||||
GHORG_GITHUB_TOKEN: {{ .user.GITHUB_READ_TOKEN }}
|
||||
GHORG_GITHUB_TOKEN: "{{ env "GITHUB_READ_TOKEN" }}"
|
||||
|
||||
# +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
# |G|I|T|L|A|B| |S|P|E|C|I|F|I|C|
|
||||
|
@ -157,7 +157,7 @@ GHORG_GITHUB_TOKEN: {{ .user.GITHUB_READ_TOKEN }}
|
|||
|
||||
# Add your GitLab token
|
||||
# flag (--token, -t) eg: --token=bGVhdmUgYSBjb21tZW50IG9uIGlzc3VlIDY2
|
||||
GHORG_GITLAB_TOKEN: {{ .user.GITLAB_READ_TOKEN }}
|
||||
GHORG_GITLAB_TOKEN: "{{ env "GITLAB_READ_TOKEN" }}"
|
||||
|
||||
# clones repos in a directory structure that matches gitlab namespaces eg company/unit/subunit/app would clone into ghorg/org/unit/subunit/app
|
||||
# flag (--preserve-dir)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "{{ .user.GITHUB_GIST_TOKEN }}" > ~/.gist
|
||||
echo "{{ env "GITHUB_GIST_TOKEN" }}" > ~/.gist
|
||||
gist $*
|
||||
rm -f ~/.gist
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
version: "2"
|
||||
authtoken: '{{ .user.NGROK_AUTH_TOKEN }}'
|
||||
authtoken: '{{ env "NGROK_AUTH_TOKEN" }}'
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"slack_token": "{{ .user.SLACK_API_TOKEN }}",
|
||||
"slack_token": "{{ env "SLACK_API_TOKEN" }}",
|
||||
"sidebar_width": 3,
|
||||
"notify": "mention",
|
||||
"emoji": true,
|
||||
|
|
|
@ -13,7 +13,7 @@ if [ -d /Applications ] && [ -d System ]; then
|
|||
fi
|
||||
|
||||
### Connect to Tailscale network
|
||||
if command -v tailscale > /dev/null && [ "{{ .user.TAILSCALE_AUTH_KEY }}" != "" ]; then
|
||||
if command -v tailscale > /dev/null && [ "{{ env "TAILSCALE_AUTH_KEY" }}" != "" ]; then
|
||||
logg info 'Connecting to Tailscale with user-defined authentication key'
|
||||
tailscale up --authkey={{ .user.TAILSCALE_AUTH_KEY }} && logg success 'Connected to Tailscale network'
|
||||
tailscale up --authkey={{ env "TAILSCALE_AUTH_KEY" }} && logg success 'Connected to Tailscale network'
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue