mirror of
https://github.com/JonasunderscoreJones/docs.jonasjones.dev.git
synced 2025-10-22 10:39:18 +02:00
This commit is contained in:
parent
0008b17278
commit
8ee3a0ef47
2 changed files with 7 additions and 1 deletions
|
@ -40,7 +40,7 @@ jobs:
|
|||
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: docusaurus-artifacts.zip
|
||||
path: docusaurus/build/
|
||||
path: build
|
||||
if-no-files-found: error
|
||||
|
||||
- name: cache downloaded dependencies
|
||||
|
|
6
.github/workflows/build-docusaurus.yml
vendored
6
.github/workflows/build-docusaurus.yml
vendored
|
@ -31,6 +31,12 @@ jobs:
|
|||
- name: Build Docusaurus site
|
||||
run: npm run build
|
||||
|
||||
- name: capture build artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: docusaurus-build
|
||||
path: build
|
||||
|
||||
- name: Save npm cache
|
||||
if: ${{ github.ref_name == github.event.repository.default_branch }}
|
||||
uses: actions/cache@v4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue