Skip to content

add openrouter api key to src/analysis_util.py #17

add openrouter api key to src/analysis_util.py

add openrouter api key to src/analysis_util.py #17

name: Generate Plots and Deploy to GitHub Pages
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pandas plotly
- name: Run Plot1 script
run: |
cd docs/plot1
python pci_nko_fg1.py
ls -la
- name: Run Plot2 script
run: |
cd docs/plot2
python pci_nko_fg2.py
ls -la
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs