Daily Job Scraper #107
This file contains hidden or 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: daily-report | |
| on: | |
| schedule: | |
| - cron: '50 7 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| id-token: write | |
| jobs: | |
| build: | |
| name: Run Internship Notifier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.x | |
| - uses: browser-actions/setup-chrome@v2 | |
| with: | |
| # chrome-version: | |
| install-chromedriver: true | |
| install-dependencies: true | |
| - name: Install Dependencies | |
| run: pip install -r requirements.txt | |
| - name: Run Internship Notifier | |
| env: | |
| TZ: 'America/Los_Angeles' | |
| USER_EMAIL: ${{ secrets.USER_EMAIL }} | |
| USER_PASSWORD: ${{ secrets.USER_PASSWORD }} | |
| RECIPIENTS: ${{ secrets.RECIPIENTS }} | |
| run: python internship_notifier.py | |