Skip to content

update sponsors

update sponsors #30

Workflow file for this run

name: "Deploy site"
on:
pull_request:
branches:
- "*"
push:
branches:
- "main"
workflow_dispatch:
# Allow manually running workflow
permissions:
pages: write
id-token: write
env:
DEPLOY: >-
${{
github.event_name != 'pull_request'
&&
github.ref == 'refs/heads/main'
}}
OUTPUT: ../_site
jobs:
build:
name: Build lektor website
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install Lektor
run: |
python -m pip install --upgrade pip setuptools
python -m pip install lektor
- name: Build lektor website
run: cd PyBay; lektor build -f webpack -O '${{ env.OUTPUT }}'
- uses: actions/upload-pages-artifact@v3
- name: Deploy lektor
if: env.DEPLOY == 'true'
uses: actions/deploy-pages@v4