blog: dataprize post #104
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: "Deploy pages" | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
Build-n-Deploy: | |
name: Build and deploy Lektor websites | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
pip install -U pip | |
pip install "Lektor>=3.3.4" | |
pip freeze | |
- name: Deploy | |
env: | |
ABOUT_SSH_PRIVATE_KEY: ${{ secrets.ABOUT_SSH_PRIVATE_KEY }} | |
BLOG_SSH_PRIVATE_KEY: ${{ secrets.BLOG_SSH_PRIVATE_KEY }} | |
HELP_SSH_PRIVATE_KEY: ${{ secrets.HELP_SSH_PRIVATE_KEY }} | |
run: ./rundeploy.sh |