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
on:
push: ~
schedule:
- cron: 10 4 * * *
workflow_dispatch: ~
jobs:
dotfiles:

View File

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

View File

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