ReAuth Reminder #29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ReAuth Reminder | |
on: | |
schedule: | |
- cron: "53 9 5 * *" | |
jobs: | |
reauth_reminder: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".nvmrc" | |
- name: Install project dependencies | |
run: npm install | |
- name: ReAuth Reminder for LinkedIn | |
env: | |
USER_TO_EMAIL: ${{ secrets.USER_TO_EMAIL }} | |
USER_FROM_EMAIL: ${{ secrets.USER_FROM_EMAIL }} | |
USER_PASSWORD: ${{ secrets.USER_PASSWORD }} | |
SMTP_HOST: ${{ secrets.SMTP_HOST }} | |
SMTP_PORT: ${{ secrets.SMTP_PORT }} | |
run: node utils/linkedInAuth/reminder.js |