CI #156
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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the workflow will run | |
on: | |
schedule: | |
- cron: '0 13 * * 4' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install deps | |
run: pip install -r requirements.txt | |
- name: install firefox | |
run: playwright install firefox | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: run stuff | |
run: E_FROM=${{ secrets.E_FROM }} E_PASSWORD=${{ secrets.E_PASSWORD }} E_TO=${{ secrets.E_TO }} E_USERNAME=${{ secrets.E_USERNAME }} SMTP_SERVER=${{ secrets.SMTP_SERVER }} SMTP_PORT=${{ secrets.SMTP_PORT }} USERS=${{ secrets.USERS }} python main.py |