mirror of
				https://github.com/DictXiong/dotfiles.git
				synced 2025-11-04 15:47:49 +08:00 
			
		
		
		
	* feat(riot-config): default port 12022 * fix(ci) * feat(riot-config): remove tailing dot from .domain; remove j.remote and x.domain * feat(riot): *.batch * feat(riot): run command in tmux window(s) note that spaces in ssh commands are still not supported * feat(riot): -o RequestTTY=yes * fix(riot): SSH_OPTIONS * fix(riot): tmux use bash * feat(zshrc): use() * fix(riot): scp, and ci note that riot still has problems with spaces. we should use array to handle parameters. * fix(ci): update macos image * feat: update email * feat: revert git email * feat(ssh): update keys * feat(sagent): sagt op * fix(sagent): error note * fix(ci): test of auto-dep * feat(ssh): remove keys ltp1-bd and ltp1 * feat(riot): rm - remove host keys * build(ci): update to ubuntu-latest and Yikun/hub-mirror-action@v1.5 * feat: remove frigg-client.log * feat(riot): -t or --trust to set RIOT_TRUST_SERVER * feat(zshrc/alias): add sc and t, remove cps and mvs feat(zshrc/plugins): add man and web-search, remove ufw * feat(riot): refactor argparse feat(riot): add `--password` and `--` feat(common.sh): argparse supports `--` feat(riot): refactor ping to ping remote * feat(riot): sshd can specify the local port * feat(riot): print help when no argument or no remote * fix(riot): ci * feat(riot): better print_cmd with escape * feat(riot-config): support sed* * fix(frigg): hostname converted into lower case
		
			
				
	
	
		
			143 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			143 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
name: sync dependencies to gitee
 | 
						|
on:
 | 
						|
  schedule:
 | 
						|
    - cron: 0 4 * * *
 | 
						|
  workflow_dispatch: ~
 | 
						|
jobs:
 | 
						|
  ohmyzsh:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: ohmyzsh repo
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/ohmyzsh
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: org
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"  # https/ssh
 | 
						|
        debug: true  # print all commands
 | 
						|
        force_update: true
 | 
						|
        static_list: "ohmyzsh"
 | 
						|
        timeout: '600s'
 | 
						|
  zsh-users:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: zsh-users repos
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/zsh-users
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: org
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "antigen,zsh-syntax-highlighting,zsh-autosuggestions,zsh-completions"
 | 
						|
        timeout: '600s'
 | 
						|
  zdharma-continuum:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: zdharma-continuum repos
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/zdharma-continuum
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: org
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "fast-syntax-highlighting"
 | 
						|
        timeout: '600s'
 | 
						|
  tmux-mem-cpu-load:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: thewtex/tmux-mem-cpu-load
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/thewtex
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: user
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "tmux-mem-cpu-load"
 | 
						|
        timeout: '600s'
 | 
						|
  tmux-plugins:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: tmux-plugins
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/tmux-plugins
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: org
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "tpm,tmux-resurrect,tmux-yank"
 | 
						|
        timeout: '600s'
 | 
						|
  vundle-vim:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: VundleVim/Vundle-vim
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/VundleVim
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: org
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "Vundle.vim"
 | 
						|
        timeout: '600s'
 | 
						|
  onedark-vim:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: joshdick/onedark-vim
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/joshdick
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: user
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "onedark.vim"
 | 
						|
        timeout: '600s'
 | 
						|
  fzf:
 | 
						|
    runs-on: ubuntu-latest
 | 
						|
    steps:
 | 
						|
    - name: junegunn/fzf
 | 
						|
      uses: Yikun/hub-mirror-action@v1.5
 | 
						|
      with:
 | 
						|
        src: github/junegunn
 | 
						|
        dst: gitee/dictxiong
 | 
						|
        dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
 | 
						|
        dst_token:  ${{ secrets.GITEE_TOKEN }}
 | 
						|
        src_account_type: user
 | 
						|
        dst_account_type: user
 | 
						|
        clone_style: "https"
 | 
						|
        debug: true
 | 
						|
        force_update: true
 | 
						|
        static_list: "fzf"
 | 
						|
        timeout: '600s'
 |