Skip to content

Commit 9a63752

Browse files
committed
Update ci.yml
1 parent 587723f commit 9a63752

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,19 +228,18 @@ jobs:
228228
run: |
229229
rm -rf documentation/docs/hooks/modules
230230
rm -rf documentation/docs/libraries/modules
231-
- uses: actions/setup-node@v3
231+
- uses: actions/upload-artifact@v4
232232
with:
233-
node-version: 16
233+
name: built-docs
234+
path: documentation
235+
- name: remove-docs-before-publish
236+
run: rm -rf documentation/docs
234237
- uses: peaceiris/actions-gh-pages@v3
235238
with:
236239
github_token: ${{ secrets.LiliaGitSecret }}
237240
publish_branch: gh-pages
238241
publish_dir: documentation
239242
force_orphan: true
240-
- uses: actions/upload-artifact@v4
241-
with:
242-
name: built-docs
243-
path: documentation
244243

245244
upload-docs:
246245
needs: gh-pages

0 commit comments

Comments
 (0)