Skip to content

Commit

Permalink
archive generated doc if not deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jan 25, 2024
1 parent 01062a0 commit 0ede2e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: documentation
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
deploy-to-gh-pages:
type: boolean
description: Deploy the documentation built with mkdocs to GitHub pages?

jobs:
build:
Expand All @@ -16,4 +20,5 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: pharo-launcher-documentation
path: site
path: site
if: github.event.inputs.deploy-to-gh-pages == 'false'
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
site_name: Pharo Launcher documentation
repo_url: https://github.com/pharo-project/pharo-launcher/
edit_uri: edit/dev/docs/
docs_dir: doc
edit_uri: edit/dev/doc/
nav:
- Home: index.md
- installation.md
Expand Down

0 comments on commit 0ede2e7

Please sign in to comment.