Skip to content

Fix formatting and add link in npm-publish.yml#9772

Closed
edgardoparaiso790-byte wants to merge 1 commit into
npm:latestfrom
edgardoparaiso790-byte:latest
Closed

Fix formatting and add link in npm-publish.yml#9772
edgardoparaiso790-byte wants to merge 1 commit into
npm:latestfrom
edgardoparaiso790-byte:latest

Conversation

@edgardoparaiso790-byte

Copy link
Copy Markdown

/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!"

Updated workflow name format and added link to build job.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant