Skip to content

Commit 15ecf94

Browse files
roxellbhcopeland
authored andcommitted
ci: add package repository to pages deployment
Update the pages job to also download the repository artifact from tuxpkg and deploy it alongside the docs to GitHub Pages under /packages/. Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
1 parent 60b06e3 commit 15ecf94

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222

223223
pages:
224224
runs-on: ubuntu-latest
225-
needs: build-docs
225+
needs: [build-docs, tuxpkg]
226226
if: startsWith(github.ref, 'refs/tags/v')
227227
permissions:
228228
pages: write
@@ -235,6 +235,10 @@ jobs:
235235
with:
236236
name: docs
237237
path: public
238+
- uses: actions/download-artifact@v4
239+
with:
240+
name: repository
241+
path: public/packages
238242
- name: Setup Pages
239243
uses: actions/configure-pages@v4
240244
- name: Upload artifact

0 commit comments

Comments
 (0)