Upload the wiki upload to work with the generic asset upload script

This commit is contained in:
Oliver 2026-01-16 17:22:03 -07:00
parent fe7fb028bd
commit deedda7648
2 changed files with 3 additions and 8 deletions

View file

@ -64,9 +64,6 @@ jobs:
path: "wiki" path: "wiki"
token: ${{forgejo.token}} token: ${{forgejo.token}}
- name: "command"
run: "ls; echo newnewnewnewnewnewnew; cd wiki && ls"
- name: "Install dependencies" - name: "Install dependencies"
run: "pwd; npm i" run: "pwd; npm i"
@ -78,10 +75,8 @@ jobs:
run: "zip -r wiki.zip ." run: "zip -r wiki.zip ."
working-directory: "wiki" working-directory: "wiki"
- name: "Move wiki archive to root"
run: "mv wiki/wiki.zip wiki.zip"
- name: "Upload wiki archive" - name: "Upload wiki archive"
run: "node scripts/src/addWikiArtifactToRelease.mjs" run: "node scripts/src/uploadReleaseAsset.mjs"
env: env:
ASSET: "wiki/wiki.zip"
TAG: "v${{needs.create-draft-release.outputs.version}}" TAG: "v${{needs.create-draft-release.outputs.version}}"

@ -1 +1 @@
Subproject commit c7410e0c65940da75f2c6b194c75d4fcfd1f0dff Subproject commit edfb087341d74e5fb1398d3833e3d4c8261d215b