Skip to content

Commit

Permalink
ci: upload only doxygen docs to pages
Browse files Browse the repository at this point in the history
We use the xkbcommon/website pages for the website, so here it's just
for previewing and we only need to the docs, not the website.

Fix #561.

Signed-off-by: Ran Benita <[email protected]>
  • Loading branch information
bluetech committed Dec 15, 2024
1 parent b9b4ab4 commit 593a161
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,22 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Set up directory tree
run: mkdir -p public_html/doc/
- name: Download doxygen from Linux build
uses: dawidd6/action-download-artifact@v7
with:
workflow: linux.yml
workflow_conclusion: success
name: doxygen-docs
path: doxygen/
- name: Move doxygen to target directory
run: mv doxygen/ public_html/doc/current/
- name: Check out the static website
uses: actions/checkout@v4
with:
repository: xkbcommon/website
persist-credentials: false
path: website
- name: Move static website to target directory
run: mv website/* public_html/

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: public_html/
path: doxygen/

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 593a161

Please sign in to comment.