mirror of
https://github.com/felixfoertsch/EurKEY-macOS.git
synced 2026-04-16 06:28:28 +02:00
- rename v2.0 → EurKEY Next across all files, scripts, workflows, website - rename bundle EurKey-macOS → EurKEY-macOS - add §/± to ¬ dead key (¬+s → §, ¬+S → ±) for ANSI keyboard compatibility - normalize Caps Lock = Shift across all four layouts, remove custom Caps bindings - fix v1.4: revert accidental Caps/ẞ changes, correct changelog to super/subscript swap - update README: remove duplicate v1.2–v1.4 changelog, reorder versions (Next first) - update website: ISO+ANSI feature card, EurKEY Next branding, consistent version order Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
53 lines
1.4 KiB
YAML
53 lines
1.4 KiB
YAML
name: Deploy website
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'eurkey-macos.eu/**'
|
|
- 'src/keylayouts/**'
|
|
- 'fonts/**'
|
|
- 'scripts/generate_layout_pdf.py'
|
|
- 'scripts/parse_keylayout.py'
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Generate layout PDFs
|
|
run: |
|
|
pip install fpdf2
|
|
python3 scripts/generate_layout_pdf.py -o eurkey-macos.eu/pdf/
|
|
- name: Generate layout JSON
|
|
run: |
|
|
mkdir -p eurkey-macos.eu/data
|
|
python3 scripts/parse_keylayout.py "src/keylayouts/EurKEY Next.keylayout" \
|
|
-o "eurkey-macos.eu/data/eurkey-next.json"
|
|
for ver in v1.2 v1.3 v1.4; do
|
|
python3 scripts/parse_keylayout.py "src/keylayouts/EurKEY ${ver}.keylayout" \
|
|
-o "eurkey-macos.eu/data/eurkey-${ver}.json"
|
|
done
|
|
- uses: actions/configure-pages@v5
|
|
- uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: eurkey-macos.eu
|
|
- id: deployment
|
|
uses: actions/deploy-pages@v4
|