Skip to content

Workflow file for this run

name: Daily GitHub New Project
on:
schedule:
- cron: "0 9 * * *"
push:
branches:
- master
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install Python Dependencies
run: pip install -r actions/requirements.txt
- name: Execute Python Script and Save Output
run: python actions/github_new_project.py > content.html
- name: Send Email
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.163.com
server_port: 465
username: ${{ secrets.MAIL_USERNAME }}
password: ${{ secrets.MAIL_PASSWORD }}
subject: "GitHub最新项目"
body: ./content.html
to: [email protected]