A mirror of my website's source code.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 deploy.yml

View raw Download
text/plain • 1021 B
Unicode text, UTF-8 text
        
            
1
name: Python package
2
3
on: [push]
4
5
jobs:
6
build:
7
runs-on: ubuntu-latest
8
strategy:
9
matrix:
10
python-version: ["pypy3.9", "pypy3.10", "3.9", "3.10", "3.11", "3.12"]
11
steps:
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 }}
15
uses: actions/setup-python@v4
16
with:
17
python-version: ${{ matrix.python-version }}
18
- name: Install Python dependencies
19
uses: py-actions/py-dependency-install@v4
20
with:
21
path: "requirements.txt"
22
# You can test your matrix by printing the current Python version
23
- name: Run Python Builder
24
run: python build.py
25
- name: Deploy 🚀
26
uses: JamesIves/github-pages-deploy-action@v4
27
with:
28
folder: docs # The folder the action should deploy.