Lastet querqy for elasticsearch versions added to installation sectio… #116
This file contains hidden or 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: release | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| release: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| sudo apt install pandoc | |
| python -m pip install --upgrade pip | |
| cd docs | |
| pip install -r requirements.txt | |
| - name: Build sphinx documentation | |
| run: | | |
| cd docs | |
| make html | |
| - name: Deploy-Action | |
| uses: SamKirkland/FTP-Deploy-Action@2.0.0 | |
| env: | |
| FTP_SERVER: ${{ secrets.SFTP_HOST }} | |
| FTP_USERNAME: ${{ secrets.SFTP_USER }} | |
| FTP_PASSWORD: ${{ secrets.SFTP_PASSWORD }} | |
| LOCAL_DIR: docs/build/html | |
| METHOD: sftp | |
| PORT: 22 | |
| ARGS: --delete |