Skip to content

Commit c0b5b2a

Browse files
Add deploy step for github pages
1 parent 94011a7 commit c0b5b2a

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/build-all.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,21 @@ jobs:
310310
artifacts/oolite-documentation-nightly/oolite-*.tgz
311311
artifacts/oolite-linux-nightly/oolite-*.tgz
312312
artifacts/oolite-windows-nightly/OoliteInstall*.exe
313+
314+
deploy:
315+
environment:
316+
name: github-pages
317+
url: ${{ steps.deployment.outputs.page_url }}
318+
needs: build-doxygen
319+
runs-on: ubuntu-latest
320+
321+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
322+
permissions:
323+
contents: read
324+
pages: write
325+
id-token: write
326+
327+
steps:
328+
- name: Deploy to GitHub Pages
329+
id: deployment
330+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)