Skip to content

Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.

Release: rebuild the website once a release is published, so its Updates page shows it

christianmatfda8f2c39b39
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9310f25e..ab2046c9 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -198,3 +198,18 @@ jobs:
gh release upload "$DRAFT" files/* --repo "$REPO"
gh api "repos/$REPO/releases/$id" --jq '.assets[].name'
echo "::notice::Added to the draft $DRAFT. Check it, then publish: gh release edit $DRAFT --draft=false --latest"
+
+ # ask Vercel to rebuild the site so the Updates page shows this release
+ refresh-site:
+ needs: publish
+ runs-on: ubuntu-latest
+ steps:
+ - name: Rebuild the website
+ env:
+ DEPLOY_HOOK: ${{ secrets.SITE_DEPLOY_HOOK }}
+ run: |
+ if [ -z "$DEPLOY_HOOK" ]; then
+ echo "::notice::SITE_DEPLOY_HOOK is not set, so the site was not rebuilt"
+ exit 0
+ fi
+ curl --fail --silent --show-error --output /dev/null --request POST "$DEPLOY_HOOK"