Compare commits

...

2 Commits

Author SHA1 Message Date
xiongdian.me
b0cec95575 ci: remove schedule run for gitee_sync 2024-08-28 10:29:50 +08:00
xiongdian.me
2beb9ebbf9 fix(sagent): secure file location 2024-08-28 10:04:54 +08:00
3 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,6 @@
name: sync repos to gitee name: sync repos to gitee
on: on:
push: ~ push: ~
schedule:
- cron: 10 4 * * *
workflow_dispatch: ~ workflow_dispatch: ~
jobs: jobs:
dotfiles: dotfiles:

View File

@ -61,7 +61,8 @@ reset()
all() all()
{ {
local agent_file="/tmp/piv-agent-$(whoami)" test -d ~/.ssh || mkdir ~/.ssh
local agent_file=~/.ssh/agent-$(whoami)
if [[ -f $agent_file ]]; then if [[ -f $agent_file ]]; then
source $agent_file > /dev/null source $agent_file > /dev/null
else else

View File

@ -49,7 +49,7 @@ alias p114
alias cbds alias cbds
which riot which riot
sagt sagt
test -f "/tmp/piv-agent-$(whoami)" test -f ~/.ssh/agent-$(whoami)
gbes || which gbes gbes || which gbes
# check update # check update