-
-
Notifications
You must be signed in to change notification settings - Fork 43
How to Upgrade
Upgrading is just pulling the latest code and redeploying. No database migrations, no new environment variables needed (unless the release notes say otherwise).
Not sure? Here's how to tell:
- One-click deploy -- You clicked a "Deploy to Cloudflare" button in the README to get started
- Manual deploy -- You cloned or forked the repo yourself and ran commands in a terminal
When you clicked that button, Cloudflare created a copy of the repo in your own GitHub account and set up automatic deployments. Any time you push to your repo, it redeploys automatically -- no terminal needed.
Step 1: Go to your repo on GitHub
It will be at github.com/YOUR-USERNAME/second-brain-cloudflare (whatever name you gave it during setup).
Step 2: Sync with the latest version
- On your repo's main page, look for the "Sync fork" button (it appears when your copy is behind the original)
- Click it, then click "Update branch"
That's it. Cloudflare detects the new commits and redeploys your Worker automatically within a minute or two.
Step 3: Verify the deployment
- Go to dash.cloudflare.com
- Click Workers & Pages in the left sidebar
- Click on your Worker
- Check the Deployments tab -- you should see a new deployment at the top with a recent timestamp
If the deployment shows an error, check the build logs on that same page for details.
Step 1: Pull the latest changes
Open your terminal in your project folder and run:
git pull upstream mainIf you haven't set up the upstream remote yet, run this first:
git remote add upstream https://github.com/rahilp/second-brain-cloudflare.gitThen retry the git pull command above.
Step 2: Install dependencies
npm installStep 3: Redeploy
npx wrangler deployStep 4: Verify
Open your web UI or send a test recall from Claude. If it responds normally, you're good.
Open an issue at github.com/rahilp/second-brain-cloudflare/issues and include:
- Which upgrade method you used
- The error message you saw
- Which version you were on and which you upgraded to