Skip to content

feat: include all 5 Microsoft Learning repos as owned static files (O… #6

feat: include all 5 Microsoft Learning repos as owned static files (O…

feat: include all 5 Microsoft Learning repos as owned static files (O… #6

Workflow file for this run

# Reyas Khan - Azure Master Case Studies
# GitHub Pages deployment workflow
# All 5 lab repos are committed directly in this repo (no submodules, no cloning)
name: Deploy Azure Master Portal to GitHub Pages
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
name: Build site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: .
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4