Skip to content

Commit 62bec9e

Browse files
fix: Maintenance wrong label (#229)
1 parent edc110b commit 62bec9e

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/docs_deploy.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,22 @@ jobs:
3131
version: 8
3232
run_install: false
3333

34+
- name: check github release done
35+
run: |
36+
for ((attempt=1; attempt<=10; attempt++)); do
37+
if wget -q --spider "https://github.com/dreamhunter2333/cloudflare_temp_email/releases/latest/download/frontend.zip"; then
38+
echo "frontend.zip found."
39+
break
40+
else
41+
if [ $attempt -eq 10 ]; then
42+
echo "Exceeded maximum retries. frontend.zip not found."
43+
else
44+
echo "frontend.zip not found. Retrying in 30 seconds..."
45+
sleep 30
46+
fi
47+
fi
48+
done
49+
3450
- name: Deploy Docs for ${{github.ref_name}}
3551
run: |
3652
cd vitepress-docs/

frontend/src/views/admin/Maintenance.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ onMounted(async () => {
135135
{{ t('cleanupNow') }}
136136
</n-button>
137137
</n-form-item-row>
138-
<n-form-item-row :label="t('mailBoxLabel')">
138+
<n-form-item-row :label="t('sendBoxLabel')">
139139
<n-checkbox v-model:checked="cleanupModel.enableSendBoxAutoCleanup">
140140
{{ t('autoCleanup') }}
141141
</n-checkbox>

0 commit comments

Comments
 (0)