Uploaded September 2026 | Updated September 2026, 1 week ago
In this tutorial, you will learn how to push an Astro website from your local computer to GitHub, then deploy it automatically to Cloudflare Workers using Wrangler and Cloudflareβs CI/CD pipeline. Iβll also show you how to connect a custom domain so your new Astro site goes live on the internet.
π§ What You Will Learn
- Wrangler: installing the Cloudflare CLI
- wrangler.jsonc: configuring your Cloudflare Worker
- GitHub: pushing a local Astro project to a new repo
- Cloudflare Workers & Pages: importing your GitHub repo
- Build settings: setting the build command and root directory
- CI/CD: auto-deploying on every GitHub push
- Custom domains: connecting your domain to Cloudflare
π Links Mentioned:
πΊ How To Build a Website With Astro: youtu.be/6twAecA1oJ0
π Astro Docs: Deploy to Cloudflare:
https://docs.astro.build/en/guides/deploy/cloudflare/
β‘ Astro: https://astro.build
βοΈ Cloudflare: cloudflare.com
π GitHub: github.com
Tools I Use:
00:00 Intro: About The Tutorial
00:25 Tutorial: How To Build Astro Website
01:02 Local Directory (Folder)
01:25 Prerequisites (Requirements)
02:05 Open Directory in VS Code
02:22 Refresher: Run Local Server
03:21 Stop Local Server
04:08 Install Wrangler
04:22 Create Wrangler Config File
05:21 Push To GitHub
05:52 Create New Repo on GitHub
07:09 Generate README
07:45 Commit & Push
08:49 Deploy To Cloudflare (Astro Docs)
09:30 CloudFlare Workers & Pages
09:57 Setup Application
10:16 Path To Directory
11:06 Deploy (Build Site)
11:29 Add Domain
12:31 How To Make Changes TO Website
π Mike Murphy AI: mikemurphy.ai
π Hostinger VPS: go.mikemurphy.ai/vps
ποΈ ElevenLabs: go.mikemurphy.ai/elevenlabs
β±οΈ Timestamps
β Connect with Me
β Website: mikemurphy.ai
β YouTube: youtube.com/mikemurphyco
β Newsletter: mikemurphy.ai/newsletter
β X: https://x.com/mikemurphyai
βοΈ Disclosure
Some links may be affiliate links, which means I may earn a commission if you purchase through them at no extra cost to you. I only share tools and services I use, trust, or think are useful for creators, small businesses, and tutorial makers.
#astro #cloudflare #cloudflareworkers #github #wrangler #cicd #webdevelopment #jamstack #staticsite #deployment #vscode #webhosting #tutorial #mikemurphyai
In this tutorial, you will learn how to push an Astro website from your local computer to GitHub, then deploy it automatically to Cloudflare Workers using Wrangler and Cloudflareβs CI/CD pipeline. Iβll also show you how to connect a custom domain so your new Astro site goes live on the internet.
π§ What You Will Learn
- Wrangler: installing the Cloudflare CLI
- wrangler.jsonc: configuring your Cloudflare Worker
- GitHub: pushing a local Astro project to a new repo
- Cloudflare Workers & Pages: importing your GitHub repo
- Build settings: setting the build command and root directory
- CI/CD: auto-deploying on every GitHub push
- Custom domains: connecting your domain to Cloudflare
π Links Mentioned:
πΊ How To Build a Website With Astro: youtu.be/6twAecA1oJ0
π Astro Docs: Deploy to Cloudflare:
https://docs.astro.build/en/guides/deploy/cloudflare/
β‘ Astro: https://astro.build
βοΈ Cloudflare: cloudflare.com
π GitHub: github.com
Tools I Use:
00:00 Intro: About The Tutorial
00:25 Tutorial: How To Build Astro Website
01:02 Local Directory (Folder)
01:25 Prerequisites (Requirements)
02:05 Open Directory in VS Code
02:22 Refresher: Run Local Server
03:21 Stop Local Server
04:08 Install Wrangler
04:22 Create Wrangler Config File
05:21 Push To GitHub
05:52 Create New Repo on GitHub
07:09 Generate README
07:45 Commit & Push
08:49 Deploy To Cloudflare (Astro Docs)
09:30 CloudFlare Workers & Pages
09:57 Setup Application
10:16 Path To Directory
11:06 Deploy (Build Site)
11:29 Add Domain
12:31 How To Make Changes TO Website
π Mike Murphy AI: mikemurphy.ai
π Hostinger VPS: go.mikemurphy.ai/vps
ποΈ ElevenLabs: go.mikemurphy.ai/elevenlabs
β±οΈ Timestamps
β Connect with Me
β Website: mikemurphy.ai
β YouTube: youtube.com/mikemurphyco
β Newsletter: mikemurphy.ai/newsletter
β X: https://x.com/mikemurphyai
βοΈ Disclosure
Some links may be affiliate links, which means I may earn a commission if you purchase through them at no extra cost to you. I only share tools and services I use, trust, or think are useful for creators, small businesses, and tutorial makers.
#astro #cloudflare #cloudflareworkers #github #wrangler #cicd #webdevelopment #jamstack #staticsite #deployment #vscode #webhosting #tutorial #mikemurphyai








![Claude Code: How To Add Trusted Directories
Claude Code: How To Add Trusted Directories
Description:
In this tutorial, you will learn how to add Trusted Directories (Folders) to prevent Claude Code from asking Do You Trust Files? when launching from a trusted directory.
Code Snippets:
nano ~/.claude/settings.json
trustedDirectories: [/Users/homefolder/TrustedDirectory]
Keyboard Shortcuts:
Show/Hide Hidden Files: Shift + Command + Period
Print Working Directory (pwd)
Nano Editor:
Write Out: Ctrl + O
Write Files: Return
Exit: Ctrl + X
π Links:
Install Claude Code (Tutorial): https://youtu.be/veztzLX4Kd4
Claude Code: https://www.anthropic.com/claude/code
-Get Hostinger VPS + n8n: https://www.hostg.xyz/SHIDN
What You Will Learn:
Locate Claude Code Settings.json file
Add Folder as Trusted Directory
Save & Exit Nano Text Editor
Launch Claude Code from Trusted Directory
π Timestamps:
00:00 Intro: About The Tutorial
00:54 The Fix: Overview
02:20 Step 1: Open Terminal
03:17 Finder Navigation
03:44 Show & Hide Hidden Files/Folders
05:15 Bonus Tip: Copy File Pathname
05:53 Add Additional Trusted Directories
06:14 Write Out & Exit Nano
06:38 Quit & Relaunch Terminal
06:58 Open Trusted Directory in Terminal
07:07 Print Working Directory (pwd)
07:54 Test Directory Inside Trusted Directory
πͺ Step-By-Step:
Open Terminal
Open Claude Settings File (nano ~/.claude/settings.json)
Add trustedDirectories: [/Users/homefolder/TrustedDirectory]
Write Out (Ctrl + O)
Write Files (Return)
Exit Nan (Ctrl + X)
Open Trusted Directory in Terminal
Launch Claude Code (claude)
Claude should open without prompt: Do You Trust Files?
Exit Claude Code (/exit)
βββββββ Resources ββββββββ
βGear I Use: https://mikemurphy.co/resources
βAdobe After Effects: https://mikemurphy.co/adobe
βTerrapin Textures: https://terrapintextures.com
β Adobe Audition Course (Domestika): https://mikemurphy.co/domestika
βAmazon Influencer Store: https://www.amazon.com/shop/mikemurphyco
βSee All My Gear: https://www.mikemurphy.co/podgear
β Get Adobe Creative Cloud: https://mikemurphy.co/adobe
β Screenflow: https://mikemurphy.co/screenflow
βββββββ Follow Me ββββββββ
β Website: https://mikemurphy.co
β Podcast: https://mikemurphy.co/mmu
β Instagram: http://instagram.com/mikeunplugged
β X: http://x.com/mikeunplugged
β YouTube: https://mikemurphy.co/youtube
Amazon Associates Disclosure:
Mike Murphy is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
#claudecode #anthropic #claude Claude Code: How To Add Trusted Directories](https://i.ytimg.com/vi/j-XErWms1gM/mqdefault.jpg)

