deploy.yml
Unicode text, UTF-8 text
1name: Python package 2 3on: [push] 4 5jobs: 6build: 7runs-on: ubuntu-latest 8strategy: 9matrix: 10python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"] 11steps: 12- uses: actions/checkout@v4 13# this Action should follow steps to set up Python build environment 14- name: Set up Python ${{ matrix.python-version }} 15uses: actions/setup-python@v4 16with: 17python-version: ${{ matrix.python-version }} 18- name: Install Python dependencies 19uses: py-actions/py-dependency-install@v4 20with: 21path: "requirements.txt" 22# You can test your matrix by printing the current Python version 23- name: Run Python Builder 24run: python build.py 25- name: Deploy 🚀 26uses: JamesIves/github-pages-deploy-action@v4 27with: 28folder: docs # The folder the action should deploy.