Browse Source

Use a separate deploy job for github pages

pull/30/head
Ian Chamberlain 1 year ago
parent
commit
ce3c8a0508
No known key found for this signature in database
GPG Key ID: AE5484D09405AA60
  1. 14
      .github/workflows/docs.yml

14
.github/workflows/docs.yml

@ -7,11 +7,9 @@ on: @@ -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: @@ -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

Loading…
Cancel
Save