This repository has been archived by the owner on Jun 15, 2024. It is now read-only.
chore: update actions #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
paths: | |
- evonote/** | |
- doc_in_py/** | |
env: | |
OPENAI_API_KEY: NAN | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install dependencies 📦 | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
- name: build project tree📦 | |
run: | | |
mkdir output | |
python ./.github/workflows/gen_project_tree.py | |
- name: Deploy to image-data branch | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
publish_dir: ./output | |
publish_branch: image-data | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' |