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:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
publish: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: devkitpro/devkitarm container: devkitpro/devkitarm
permissions:
id-token: write
steps: steps:
- name: Checkout branch - name: Checkout branch
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -27,7 +25,13 @@ jobs:
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2
with: with:
path: ./target/armv6k-nintendo-3ds/doc path: ./target/armv6k-nintendo-3ds/doc
deploy:
- name: Deploy GitHub pages runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2 uses: actions/deploy-pages@v2

Loading…
Cancel
Save