Skip to content

Daily link-history email #972

Daily link-history email

Daily link-history email #972

Workflow file for this run

name: Daily link-history email
on:
workflow_dispatch: # Enable manual invocation for testing
schedule:
- cron: "0 20 * * *" # 6am daily (AEST)
jobs:
Send-Email:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip'
- run: pip install -r requirements.txt
- run: pip freeze
- run: python daily_pinboard.py
env:
API_ENDPOINT: ${{ secrets.API_ENDPOINT }}
PINBOARD_TOKEN: ${{ secrets.PINBOARD_TOKEN }}
EMAIL: ${{ secrets.EMAIL }}
SMTP_SERVER: ${{ secrets.SMTP_SERVER }}
SMTP_USERNAME: ${{ secrets.SMTP_USERNAME }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}