build-zip
This commit is contained in:
5
.github/workflows/build_push.yml
vendored
5
.github/workflows/build_push.yml
vendored
@@ -36,8 +36,7 @@ jobs:
|
||||
cd master
|
||||
yarn install
|
||||
yarn build
|
||||
cd build
|
||||
zip -9 -r "../Tachidesk-WebUI-r$(git rev-list HEAD --count)" *
|
||||
yarn build-zip
|
||||
|
||||
- name: Generate Tag Name
|
||||
id: GenTagName
|
||||
@@ -74,7 +73,7 @@ jobs:
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
token: ${{ secrets.DEPLOY_PREVIEW_TOKEN }}
|
||||
artifacts: "master/*.zip"
|
||||
artifacts: "master/buildZip/*.zip"
|
||||
owner: "Suwayomi"
|
||||
repo: "Tachidesk-WebUI-preview"
|
||||
tag: ${{ steps.GenTagName.outputs.value }}
|
||||
@@ -21,6 +21,7 @@
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"build-zip": "cd build && rev=$(git rev-list HEAD --count) && echo $rev > revision && zip -9 -r ../zipBuild/Tachidesk-WebUI-r$rev *",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
|
||||
1
zipBuild/.gitignore
vendored
Normal file
1
zipBuild/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.zip
|
||||
Reference in New Issue
Block a user