Logo

dev-resources.site

for different kinds of informations.

Cloud Resume Challenge pt 4: Spinning up an Azure Static Web App

Published at
8/2/2024
Categories
cloudresumechallenge
azure
staticwebapps
cloud
Author
hellopackets89
Author
14 person written this
hellopackets89
open
Cloud Resume Challenge pt 4: Spinning up an Azure Static Web App

A nice and easy one this week. Today is a quick run through on how I configured my static web app to deploy straight from GitHub.

We're also doing all of this from the cozy embrace of ClickOps! So put on some jazz, kick up your feet and let's get started!

1. Create a new Repo for your website.

The below settings keep it simple. Set to private if preferred.

asd

2. Spin up your Static Web App, select the repository you've just created.

If you're in a private tab, you'll need to log into GitHub.

Image dssdsaaescription

3. Head over to your repo and click on the Actions button.

Image sadasddescription

4. You'll notice your first run has failed.

If we dig down we'll find its due to a missing index.html file.

This can be avoided by pre-loading your repo with your index.html file before we connect it to the SWA but... even if we're doing things the easy way today, its still good to see what a fail looks like.

Image desasdfafcription

5. Fix this by uploading your index.html
Image descripasdftion

This will trigger the workflow to start another deployment. Give it a few moments and it should go from a yellow pending state to a green tick!

Image descriptsssion

6. Return to your Static Web App resource

You'll notice your website's status has gone from Waiting for Deployment to Ready

Image deasdasdscription

7. Click on Visit Your Website and you can see its already up!

Imagea asdasd

And while we're riding this Victorious Wave, you'll notice we're already setup for HTTPS! This'll stay secure even after adding your own custom domain.

Image descriptasdsdion

Bonus:
Azure Static Web apps support preview environments by default. To use them, perform a pull request instead of a commit. The workflow will then deploy a preview environment.

Image asdasd

staticwebapps Article's
30 articles in total
Favicon
Configuring a custom domain for your Azure Static Web App
Favicon
Building an educational game with AI tools and Azure Static Web Apps (Part 1)
Favicon
Building an educational game with AI tools and Azure Static Web Apps (Part 2)
Favicon
Static React App Deployment with Vite
Favicon
Transform Your Cloud Migration Strategy: Transition Microsoft workloads to Linux on AWS with AI Solutions
Favicon
Building Domain-Specific AI Models: A Guide for Specialized Industries
Favicon
Crypto Trading
Favicon
On-demand App Development For a Small Business
Favicon
How to Drive Quality Leads with Social Media | Connect Infosoft
Favicon
Tiiny Host Alternatives: Why Static.app is Better
Favicon
ELEVENS4D - Slot Scatter Hitam, Bocoran RTP Akurat, dan Slot PGSoft Terbaru
Favicon
Introducing svelte-bundle
Favicon
End Point Security Solutions
Favicon
A SocialBook where you connect with world.
Favicon
Make your web page faster
Favicon
CapCut APK Website Performance Issues: Seeking Solutions
Favicon
Deploying Static Files for Website Hosting in SafeLine
Favicon
Testing and Debugging: Strategies to Ensure Web Application Quality
Favicon
Testing and Debugging: Strategies to Ensure Web Application Quality
Favicon
How to use the HTML datalist tag
Favicon
Hosting a Static website on a private Amazon S3 bucket using CloudFront’s OAC
Favicon
Deploy Your Static Web App on AWS S3 in just 10 Minutes
Favicon
External content for GatsbyJS
Favicon
Cloud Resume Challenge pt 4: Spinning up an Azure Static Web App
Favicon
Window swap html css js
Favicon
Step-by-Step Guide: Hosting Static Webapps on Azure
Favicon
Building My First Static Website
Favicon
Static Site Generation
Favicon
Guía Completa para Crear una Web Estática con AWS S3 y AWS CLI
Favicon
HOST A STATIC WEBSITE ON AZURE BLOB STORAGE

Featured ones: