add release
This commit is contained in:
parent
53bffde62a
commit
c6e4640431
9
webUI/.github/workflows/release.yml
vendored
9
webUI/.github/workflows/release.yml
vendored
|
@ -22,6 +22,11 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build-only
|
run: npm run build-only
|
||||||
|
|
||||||
|
- name: Zip dist folder
|
||||||
|
run: |
|
||||||
|
cd public_html/ui
|
||||||
|
zip -r ../../webUI.zip .
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
@ -39,6 +44,6 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
asset_path: ./dist
|
asset_path: ./webUI.zip
|
||||||
asset_name: dist.zip
|
asset_name: webUI.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
Loading…
Reference in a new issue