Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

chore(deps): update dependency mudblazor to v6.11.0 #497

chore(deps): update dependency mudblazor to v6.11.0

chore(deps): update dependency mudblazor to v6.11.0 #497

Workflow file for this run

on:
push:
pull_request:
branches:
- main
name: Build and Deploy
permissions:
contents: read
id-token: write
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Setup .NET 6
uses: actions/setup-dotnet@a351d9ea84bc76ec7508debf02a39d88f8b6c0c0 # tag=v2
with:
dotnet-version: '6.0.x'
- name: dotnet publish
run: |
dotnet publish src/Reddit2Kindle.Blazor -c Release -o Blazor
dotnet publish src/Reddit2Kindle.Functions -c Release -o Functions
- name: Azure Login
if: ${{ github.ref == 'refs/heads/main' }}
uses: azure/login@92a5484dfaf04ca78a94597f4f19fea633851fa2 # tag=v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Deploy webapp
if: ${{ github.ref == 'refs/heads/main' }}
uses: azure/webapps-deploy@4bca689e4c7129e55923ea9c45401b22dc6aa96f # v2
with:
app-name: reddit2kindle-blazor
package: 'Blazor'
- name: Deploy functions
if: ${{ github.ref == 'refs/heads/main' }}
uses: azure/functions-action@238dc3c45bb1b04e5d16ff9e75cddd1d86753bd6 # v1
with:
app-name: reddit2kindle-functions
package: 'Functions'