Merge pull request #548 from theliminal/lektor #149
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: 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.X" | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install --upgrade setuptools | |
pip install -r requirements.txt | |
- name: Build site | |
run: | | |
lektor plugins reinstall | |
lektor build --no-prune | |
- name: Publish site | |
env: | |
LEKTOR_DEPLOY_USERNAME: brutusthebee | |
LEKTOR_DEPLOY_PASSWORD: ${{ secrets.LEKTOR_DEPLOY_PASSWORD }} | |
run: | | |
lektor deploy ghpages-https |