知了 Cicada · 任何会议和直播的实时字幕、同声传译、AI 会议纪要,Mac、Windows、Linux、Android 免费开源。Live subtitles, interpreting and meeting notes for any call or stream, on Mac, Windows, Linux and Android.
Swift androidlinuxlive-captionsmacosmeeting-notesmenubar-appsimultaneous-interpretationspeech-recognitionsubtitlesswiftswiftuitranslationwindows
build: drop the GitHub Pages deploy, the site lives on Cloudflare, and build every push
wquguru645b170896f8
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 09da952..eec6269 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -1,8 +1,9 @@name: build-# macOS runner minutes are billed at 10× for private repositories, so this runs on-# pull requests and on demand rather than on every push to main.+# The repo is public, so macOS runner minutes are free: check every push to main too.on:+ push:+ branches: [main]pull_request:workflow_dispatch:diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.ymldeleted file mode 100644index 915c34c..0000000--- a/.github/workflows/pages.yml+++ /dev/null@@ -1,37 +0,0 @@-name: pages--on:- push:- branches: [main]- paths: ["site/**", "scripts/site.py", ".github/workflows/pages.yml"]- workflow_dispatch:--permissions:- contents: read- pages: write- id-token: write--concurrency:- group: pages- cancel-in-progress: true--jobs:- deploy:- # Pages needs a public repo on this plan; skip quietly while it is private.- if: ${{ !github.event.repository.private }}- # Linux is enough: the site is static files plus a Python build step (og.png / icon.png are committed).- runs-on: ubuntu-latest- environment:- name: github-pages- url: ${{ steps.deployment.outputs.page_url }}- steps:- - uses: actions/checkout@v4- - name: Build the site- run: python3 scripts/site.py- env:- SITE_URL: ${{ vars.SITE_URL }}- - uses: actions/upload-pages-artifact@v3- with:- path: build/site- - id: deployment- uses: actions/deploy-pages@v4diff --git a/scripts/deploy-site.sh b/scripts/deploy-site.shindex e104439..1eb5692 100755--- a/scripts/deploy-site.sh+++ b/scripts/deploy-site.sh@@ -2,7 +2,6 @@# Builds the website and deploys it to the Cloudflare Worker "cicada-site" (static assets only), which# serves cicada.indaloop.app. The custom domain is attached to the Worker in Cloudflare, so the config# below declares no routes and a deploy leaves it alone. Needs `wrangler login` once.-# (.github/workflows/pages.yml deploys to GitHub Pages instead, but skips while the repo is private.)set -euo pipefailcd "$(dirname "$0")/.."diff --git "a/\345\220\257\345\212\250\345\255\227\345\271\225.command" "b/\345\220\257\345\212\250\345\255\227\345\271\225.command"deleted file mode 100755index 78baafd..0000000--- "a/\345\220\257\345\212\250\345\255\227\345\271\225.command"+++ /dev/null@@ -1,4 +0,0 @@-#!/bin/bash-# Opens the installed app, or the one built in this checkout.-cd "$(dirname "$0")"-if [ -d "/Applications/Cicada.app" ]; then open "/Applications/Cicada.app"; else open "build/Cicada.app"; fi