Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Registrarse

Iniciar sesión


Todos Nuevo Registrarse Iniciar sesión

All gists matching topic sync

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
LiuShen's Avatar

LiuShen / Webhook实现仓库自动备份

0 gustos
0 bifurcaciones
1 archivos
Última actividad 5 months ago
宝塔面板,使用Webhook,自动同步更新后的仓库,拉取静态源码部署博客
cmd github shell sync webhook
1 #!/bin/bash
2 echo ""
3 #输出当前时间
4 date --date='0 days ago' "+%Y-%m-%d %H:%M:%S"
5 echo "Start"
6 #判断宝塔WebHook参数是否存在
7 if [ ! -n "$1" ];
8 then
9 echo "param参数错误"
10 echo "End"
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 18ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 个人主页 ⋅ 站长博客