Skip to content

Commit d9c5d7a

Browse files
ci: build docs as a special artifact for gh pages
1 parent e56250e commit d9c5d7a

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/doc_update.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
runs-on: "ubuntu-24.04"
2424
steps:
2525
- uses: actions/checkout@v6
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v5
2628
- name: Create Gemfile
2729
run: |
2830
echo $'source "https://rubygems.org"\n\ngem "jekyll"\n' > Gemfile
@@ -65,12 +67,7 @@ jobs:
6567
cd "$WORKDIR"/work
6668
git diff --cached --stat
6769
git diff --cached
68-
- name: Pack docs
69-
uses: actions/upload-artifact@v6
70+
- name: Upload Pages package
71+
uses: actions/upload-pages-artifact@v4
7072
with:
71-
name: gh-pages-content
72-
retention-days: 22
73-
include-hidden-files: true
74-
if-no-files-found: "error"
7573
path: ${{ steps.make-output-dir.outputs.doc_output_dir }}/work/
76-

0 commit comments

Comments
 (0)