Skip to content

Commit

Permalink
More stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
subdavis committed Sep 23, 2024
1 parent 27ac9bc commit cf331aa
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,10 @@ steps:
image: python:3
commands:
- curl -sSL https://install.python-poetry.org | python3 -
- export PATH="/root/.local/bin:$PATH"
- poetry --version
- poetry install

- name: run-updateCache
image: python:3
environment:
LIMS_KEY:
from_secret: LIMS_KEY
YOUTUBE_API_KEY:
from_secret: YOUTUBE_API_KEY
commands:
- poetry run updateCache

- name: run-generate
image: python:3
environment:
ANTHROPIC_KEY:
from_secret: ANTHROPIC_KEY
LIMS_KEY:
from_secret: LIMS_KEY
YOUTUBE_API_KEY:
from_secret: YOUTUBE_API_KEY
commands:
- poetry run generate

- name: commit-and-push
Expand All @@ -43,4 +24,4 @@ steps:
- git config --global user.email 'drone-ci[bot]@users.noreply.github.com'
- git add .
- git commit -m "automated daily generation routine"
- git push https://oauth2:${GITHUB_TOKEN}@github.com/your-repo/your-project.git
- git push https://subdavis:${GITHUB_TOKEN}@github.com/subdavis/open-journal-mpls.git

0 comments on commit cf331aa

Please sign in to comment.