We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284a441 commit be881d6Copy full SHA for be881d6
1 file changed
.github/workflows/packer.yml
@@ -176,7 +176,12 @@ jobs:
176
- name: Restore Artifacts
177
uses: actions/download-artifact@v4
178
with:
179
- path: artifacts/
+ path: artifacts/
180
+
181
+ # feat: UTC 20:00~21:00 取消上传(避开远程服务器的4:00-4:10)
182
+ - name: Fail at inappropriate time
183
+ run: if [ `date -u +%H` -eq 20 ]; then exit -1; fi
184
+ shell: bash
185
186
- name: Run Uploader
187
run: .\Uploader --host="${{ secrets.SSH_IP }}" --name="${{ secrets.SSH_USER }}" --password="${{ secrets.SSH_PWD }}"
0 commit comments