mirror of
https://github.com/whyour/qinglong.git
synced 2025-07-07 20:06:08 +08:00
测试git push
This commit is contained in:
parent
09ab572d79
commit
3574f69723
2
.github/workflows/ build.yml
vendored
2
.github/workflows/ build.yml
vendored
|
@ -31,4 +31,4 @@ jobs:
|
|||
git config user.email "imwhyour@gmail.com"
|
||||
git add .
|
||||
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();
|
||||
}, 2000);
|
||||
}
|
||||
if (log && log.includes('重启面板')) {
|
||||
message.warning({ content: '系统将在5秒后刷新', duration: 5 });
|
||||
if (
|
||||
log &&
|
||||
log.includes('重启面板') &&
|
||||
cron.status === CrontabStatus.running
|
||||
) {
|
||||
message.warning({ content: '系统将在5秒后自动刷新', duration: 5 });
|
||||
setTimeout(() => {
|
||||
window.location.reload();
|
||||
}, 5000);
|
||||
|
|
Loading…
Reference in New Issue
Block a user