Update plugin definitions to use pyproject.toml (#638) #218
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: Publish | |
| on: | |
| push: | |
| branches: | |
| - lektor | |
| jobs: | |
| publish: | |
| name: Publish site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set up Python | |
| uses: actions/setup-python@v1 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install --upgrade setuptools wheel | |
| pip install -r requirements.txt | |
| lektor plugins reinstall | |
| sudo apt update -y | |
| sudo apt install -y --no-install-recommends gettext | |
| - name: Build site | |
| run: | | |
| lektor build --no-prune | |
| - name: Publish site | |
| env: | |
| LEKTOR_DEPLOY_USERNAME: brutusthebee | |
| LEKTOR_DEPLOY_PASSWORD: ${{ secrets.LEKTOR_DEPLOY_PASSWORD }} | |
| run: | | |
| lektor deploy ghpages-https |