Browse Source

Update send-email.yml

Yawei sun 1 year ago
parent
commit
9b6a03e55e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/send-email.yml

+ 5 - 1
.github/workflows/send-email.yml

@@ -24,7 +24,11 @@ jobs:
 
     - name: Run script
       id: run-script
-      run: npm run fetch 2024  # 假设你的脚本文件名为 your-script.js,且需要传入一个年份参数
+      run: npm run fetch 2024
+
+    - name: Debug secrets
+        run: echo "SECRET_TEST=${{ secrets.SECRET_TEST }}"
+        shell: bash
 
     - name: Send notification if holidays has value
       if: ${{ steps.run-script.outputs.holidays != '' }}