edit workflow #791
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: Send a test poem on a push to master | |
on: push | |
jobs: | |
run_tests: | |
name: Test send-poem.py and make-docs.py with credentials | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: Send poem to myself | |
run: | |
python scripts/send-poem.py --kind "test" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "data/poems/testserv.csv" | |
--github_repo_name "thomaswmorris.github.io" --github_token ${{ secrets.GH_TOKEN }} |