mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-05 08:14:32 +08:00
测试git push
This commit is contained in:
@@ -31,4 +31,4 @@ jobs:
|
|||||||
git config user.email "imwhyour@gmail.com"
|
git config user.email "imwhyour@gmail.com"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "copy static at $(date +'%Y-%m-%d %H:%M:%S')"
|
git commit -m "copy static at $(date +'%Y-%m-%d %H:%M:%S')"
|
||||||
git push --force --quiet "https://whyour:${{ secrets.API_TOKEN }}@${GITHUB_REPO}.git" master:master
|
git push --quiet "https://whyour:${{ secrets.API_TOKEN }}@${GITHUB_REPO}.git" master:master
|
||||||
@@ -44,8 +44,12 @@ const CronLogModal = ({
|
|||||||
getCronLog();
|
getCronLog();
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
if (log && log.includes('重启面板')) {
|
if (
|
||||||
message.warning({ content: '系统将在5秒后刷新', duration: 5 });
|
log &&
|
||||||
|
log.includes('重启面板') &&
|
||||||
|
cron.status === CrontabStatus.running
|
||||||
|
) {
|
||||||
|
message.warning({ content: '系统将在5秒后自动刷新', duration: 5 });
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}, 5000);
|
}, 5000);
|
||||||
|
|||||||
Reference in New Issue
Block a user