Skip to content

build: add better indexing (#92) #44

build: add better indexing (#92)

build: add better indexing (#92) #44

Workflow file for this run

name: "Build and deploy 5432"
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
with:
persist-credentials: false
# 2. Partie spécifique à Sphinx (installation des
# dépendances et génération de la doc)
- name: "Set up Python"
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: "Install Python dependencies"
run: |
pip3 install pipenv
pipenv install --python 3.11 -r requirements.txt
- name: "Build Sphinx Doc"
run: |
pipenv run make html
- name: "Deploy Github Pages"
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build/html/
- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: ./build/html/
server-dir: www/