Azure Static Web Apps: The New JAMstack Platform

Azure Static Web Apps combines static hosting with serverless APIs. Perfect for JAMstack and SPAs including Blazor.

Web development
Photo by Carl Heyerdahl on Unsplash

Features

  • GitHub Actions integration
  • Free SSL certificates
  • Global CDN distribution
  • Integrated Azure Functions API
  • Authentication providers built-in

Deploy from GitHub

name: Azure Static Web Apps
on: [push]
jobs:
  build_and_deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: Azure/static-web-apps-deploy@v1
        with:
          azure_static_web_apps_api_token: ${{ secrets.AZURE_TOKEN }}
          app_location: "/"
          api_location: "api"
          output_location: "dist"

References


Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.