Fix formatting and add link in npm-publish.yml#9772
Closed
edgardoparaiso790-byte wants to merge 1 commit into
Closed
Fix formatting and add link in npm-publish.yml#9772edgardoparaiso790-byte wants to merge 1 commit into
edgardoparaiso790-byte wants to merge 1 commit into
Conversation
Updated workflow name format and added link to build job.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/bin/bash
─────────────────────────────────────────
SecureID SIDV — Cloudflare Deploy Script
Account: 681c2b2fd3a692acc738e0828e8481fa
─────────────────────────────────────────
STEP 1 — Install Wrangler
npm install -g wrangler
STEP 2 — Login to your Cloudflare account
wrangler login
STEP 3 — Verify account connection
wrangler whoami
Should show: 681c2b2fd3a692acc738e0828e8481fa
STEP 4 — Add your Anthropic API key as encrypted secret
wrangler secret put ANTHROPIC_API_KEY
Paste: sk-ant-api03-xxxxxxxxxxxx
Select: production
STEP 5 — Create KV namespace for user vault storage
wrangler kv:namespace create "SIDV_KV"
Copy the ID it returns and add to wrangler.toml:
[[kv_namespaces]]
binding = "SIDV_KV"
id = "PASTE_ID_HERE"
STEP 6 — Build React app
npm run build
STEP 7 — Deploy to Cloudflare Workers
wrangler deploy
STEP 8 — Deploy to Cloudflare Pages (for React frontend)
wrangler pages deploy build --project-name=secureid-vault
STEP 9 — Set production environment variable in Pages
wrangler pages secret put ANTHROPIC_API_KEY --project-name=secureid-vault
STEP 10 — Add custom domain (in CF Dashboard)
Pages → secureid-vault → Custom Domains → Add domain
e.g. secureid.yourdomain.com
echo "✅ SecureID SIDV deployed to Cloudflare!"