Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Morris committed Sep 21, 2024
1 parent 1787674 commit 1e9167c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/daily-poem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- name: Curate a poem, and send it to the listserv
run:
python scripts/send-poem.py --mode "daily" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "data/poems/listserv.csv"
python scripts/send-poem.py --mode "daily" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "poems/listserv.csv"
--github_repo_name "thomaswmorris.github.io" --github_token ${{ secrets.GH_TOKEN }} --write_to_repo
2 changes: 1 addition & 1 deletion .github/workflows/hourly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:
- name: Curate a poem, and send it to the testserv
run:
python scripts/send-poem.py --mode "test" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "data/poems/testserv.csv"
python scripts/send-poem.py --mode "test" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "poems/testserv.csv"
--github_repo_name "thomaswmorris.github.io" --github_token ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
- name: Send poem to myself
run:
python scripts/send-poem.py --mode "test" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "data/poems/testserv.csv"
python scripts/send-poem.py --mode "test" --username "poemsfromtom@gmail.com" --password ${{ secrets.PFT_PW }} --listserv_filename "poems/testserv.csv"
--github_repo_name "thomaswmorris.github.io" --github_token ${{ secrets.GH_TOKEN }} --write_to_repo
2 changes: 1 addition & 1 deletion scripts/send-poem.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
repo = utils.load_github_repo(github_repo_name=args.github_repo_name,
github_token=args.github_token)

history = utils.read_csv(repo=repo, filepath="data/poems/history-daily.csv")
history = utils.read_csv(repo=repo, filepath="poems/history-daily.csv")

when = ttime.time() if args.mode == "daily" else ttime.time() + random.uniform(low=0, high=365 * 86400)
context = Context(timestamp=when)
Expand Down

0 comments on commit 1e9167c

Please sign in to comment.