From cb85761afe3770980cd4ce054160b82d5e08268c Mon Sep 17 00:00:00 2001 From: Evan Anderson Date: Fri, 11 Oct 2024 15:44:26 -0700 Subject: [PATCH] Fix permissions, set working directory --- .github/workflows/publish.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9d34f70..d164410 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,8 +13,16 @@ on: jobs: build: + name: Deploy to GitHub Pages runs-on: ubuntu-latest + permissions: + contents: read + pages: write + + defaults: + run: + working-directory: ./docs steps: - name: Checkout docs uses: actions/checkout@v4