Skip to content

fix: Dockerfile to reduce vulnerabilities (#33) #41

fix: Dockerfile to reduce vulnerabilities (#33)

fix: Dockerfile to reduce vulnerabilities (#33) #41

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
name: Deploying to GitHub Pages
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.300
- name: Build with dotnet
run: dotnet build --configuration Release
- name: Publish Blazor webassembly using dotnet
run: dotnet publish -c Release --no-build -o publishoutput
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: publishoutput/wwwroot
CLEAN: true