Skip to content

Commit f3a48ad

Browse files
committed
--amend
1 parent c6cc9ec commit f3a48ad

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Summarise Upcoming Meetup Events
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 7 * * 1' # Monday at 7am GMT
7+
8+
jobs:
9+
summarise_events_with_llms:
10+
if: github.repository == 'Women-Coding-Community/WomenCodingCommunity.github.io'
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v5
16+
17+
- name: Set up Python
18+
uses: actions/setup-python@v5
19+
with:
20+
python-version: '3.12'
21+
22+
- name: Cache pip
23+
uses: actions/cache@v4
24+
with:
25+
path: ~/.cache/pip
26+
key: ${{ runner.os }}-pip-${{ hashFiles('tools/llm_meetup_summary/requirements.txt') }}
27+
restore-keys: |
28+
${{ runner.os }}-pip-
29+
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install -r tools/llm_meetup_summary/requirements.txt
34+
35+
- name: Run summary script
36+
run: |
37+
cd tools/llm_meetup_summary
38+
python summarise_events_with_llms.py
39+
env:
40+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
41+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 commit comments

Comments
 (0)