whutug / whu-thesis

:memo: 武汉大学毕业论文 LaTeX 模版 2024
LaTeX Project Public License v1.3c
931 stars 200 forks source link

🐎 ci(Github Actions): Send Email #185

Closed Yan-Daojiang closed 1 year ago

Yan-Daojiang commented 1 year ago

Send the built PDF to the specified email address.

Motivation

After uploading the built PDF to Artifacts, you still need to manually open Github to download it. To simplify this process, I added a process to automatically send PDF files to a specific mailbox, and supports CC and BCC.

Modification

Add autosend emails in latex-compile.yaml.

Usage

You need an email address to activate POP3/SMTP service. Then you need to configure some Actions Secrets in the settings of the Github repository.