From 593a1613d7cc42f5b28ae362e28a75bc7d6703fb Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 15 Dec 2024 16:30:20 +0200 Subject: [PATCH] ci: upload only doxygen docs to pages 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 --- .github/workflows/pages.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 07de43a8..10ca5fa8 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -25,8 +25,6 @@ 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: @@ -34,22 +32,15 @@ jobs: 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