fix: add missing description for search engine #45
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
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/ |