Upload the wiki upload to work with the generic asset upload script
This commit is contained in:
parent
fe7fb028bd
commit
deedda7648
2 changed files with 3 additions and 8 deletions
|
|
@ -64,9 +64,6 @@ jobs:
|
|||
path: "wiki"
|
||||
token: ${{forgejo.token}}
|
||||
|
||||
- name: "command"
|
||||
run: "ls; echo newnewnewnewnewnewnew; cd wiki && ls"
|
||||
|
||||
- name: "Install dependencies"
|
||||
run: "pwd; npm i"
|
||||
|
||||
|
|
@ -78,10 +75,8 @@ jobs:
|
|||
run: "zip -r wiki.zip ."
|
||||
working-directory: "wiki"
|
||||
|
||||
- name: "Move wiki archive to root"
|
||||
run: "mv wiki/wiki.zip wiki.zip"
|
||||
|
||||
- name: "Upload wiki archive"
|
||||
run: "node scripts/src/addWikiArtifactToRelease.mjs"
|
||||
run: "node scripts/src/uploadReleaseAsset.mjs"
|
||||
env:
|
||||
ASSET: "wiki/wiki.zip"
|
||||
TAG: "v${{needs.create-draft-release.outputs.version}}"
|
||||
|
|
|
|||
2
scripts
2
scripts
|
|
@ -1 +1 @@
|
|||
Subproject commit c7410e0c65940da75f2c6b194c75d4fcfd1f0dff
|
||||
Subproject commit edfb087341d74e5fb1398d3833e3d4c8261d215b
|
||||
Loading…
Add table
Add a link
Reference in a new issue