๐ง An automated weekly PDF delivery system that sends customized PDF templates via email using GitHub Actions.
The system operates on the following automated workflow:
- ๐ค Runs automatically every Monday at 00:00 UTC
- ๐ฎ Can also be triggered manually through GitHub Actions
- ๐ Locates the template PDF file in the repository
- โ๏ธ Renames it with the current week number and date (e.g., "Week01_2025-01-12.pdf")
- ๐ Encodes the PDF for email attachment
- ๐จ Sends the email using SendGrid
Required secrets in your repository settings:
TO_EMAIL: ๐ฎ Recipient email addressFROM_EMAIL: ๐ค Sender email addressSENDGRID_API_KEY: ๐ Your SendGrid API key
- ๐ Place your PDF template in the repository root
- โจ Name it with "Template" in the filename
Need to send right away? No problem!
- ๐ฑ๏ธ Go to the Actions tab in your GitHub repository
- ๐ Select "Weekly Email" workflow
โถ๏ธ Click "Run workflow"
The workflow is defined in .github/workflows/WeeklySend.yml and uses:
- ๐ GitHub Actions for automation
- ๐ง SendGrid API for email delivery
- ๐ Base64 encoding for PDF attachment
- ๐ง Ubuntu latest as the runner
This project is licensed under the MIT License - see the LICENSE file for details.
Made with โค๏ธ using GitHub Actions