From ce3c8a05086c9eb3136193718fb569fdcec055eb Mon Sep 17 00:00:00 2001 From: Ian Chamberlain Date: Tue, 21 Nov 2023 12:38:31 -0500 Subject: [PATCH] Use a separate deploy job for github pages --- .github/workflows/docs.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 755e768..a33ac8b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,11 +7,9 @@ on: workflow_dispatch: jobs: - publish: + build: runs-on: ubuntu-latest container: devkitpro/devkitarm - permissions: - id-token: write steps: - name: Checkout branch uses: actions/checkout@v4 @@ -27,7 +25,13 @@ jobs: uses: actions/upload-pages-artifact@v2 with: path: ./target/armv6k-nintendo-3ds/doc - - - name: Deploy GitHub pages + deploy: + runs-on: ubuntu-latest + needs: build + permissions: + pages: write + id-token: write + steps: + - name: Deploy to GitHub Pages uses: actions/deploy-pages@v2