pipeline_creation #14
@ -21,6 +21,9 @@ jobs:
|
|||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
git config --global user.name "Blog Creator"
|
||||||
|
git config --global user.email "ridgway.infrastructure@gmail.com"
|
||||||
|
git config --global push.autoSetupRemote true
|
||||||
|
|
||||||
- name: Create .env
|
- name: Create .env
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -30,7 +30,7 @@ for note in tril_notes:
|
|||||||
ai_gen = omg.OllamaGenerator(os_friendly_title,
|
ai_gen = omg.OllamaGenerator(os_friendly_title,
|
||||||
tril_notes[note]['content'],
|
tril_notes[note]['content'],
|
||||||
tril_notes[note]['title'])
|
tril_notes[note]['title'])
|
||||||
blog_path = f"/blog_creator/generated_files/{os_friendly_title}.md"
|
blog_path = f"generated_files/{os_friendly_title}.md"
|
||||||
ai_gen.save_to_file(blog_path)
|
ai_gen.save_to_file(blog_path)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user