Skip to content

Commit

Permalink
Add build for the gradle.org subsite
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Mar 12, 2024
1 parent 6a808cf commit a4da75a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,19 @@ jobs:
run: mkdocs build

- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v1
with:
name: github-pages
path: "_site/"

- name: Build the docs site for gradle.org
run: mkdocs build -f mkdics-dotorg.yml

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
name: dotorg-site
path: "_dotorg-site/"

# Deployment job
deploy:
Expand Down
2 changes: 1 addition & 1 deletion mkdocs-dotorg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ edit_uri: edit/main/docs/
site_url: https://gradle.org/community

# Build
site_dir: _site
site_dir: _dotorg_site

# Theme
theme:
Expand Down

0 comments on commit a4da75a

Please sign in to comment.