Skip to content

further limit permissions #5

further limit permissions

further limit permissions #5

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- main
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
jobs:
build:
runs-on: windows-latest
defaults:
run:
working-directory: statiq-dopetrope-demo
steps:
- name: Get Source
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- run: dotnet run -- deploy -l "Trace"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}