mirror of
https://github.com/transformerlab/transformerlab-app.git
synced 2025-04-14 07:48:20 +03:00
Simplify command to publish webapp zip file on release.
This commit is contained in:
15
.github/workflows/publish.yml
vendored
15
.github/workflows/publish.yml
vendored
@@ -30,10 +30,6 @@ jobs:
|
||||
npm run postinstall
|
||||
npm run build
|
||||
|
||||
- name: Zip static web assets
|
||||
run: |
|
||||
zip -r transformerlab-web.zip release/cloud/
|
||||
|
||||
- name: copy p8 key to file
|
||||
run: |
|
||||
echo "${{ secrets.APPLE_API_KEY_P8_FILE }}" > api_key.p8
|
||||
@@ -52,11 +48,12 @@ jobs:
|
||||
run: |
|
||||
npm exec electron-builder -- --publish always --win --mac --linux
|
||||
|
||||
- name: Upload static assets to GitHub Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: ${{ github.ref_name }}
|
||||
files: transformerlab-web.zip
|
||||
- name: Zip and upload static web assets
|
||||
run: |
|
||||
zip -r transformerlab-web.zip release/cloud/
|
||||
gh release upload ${{ github.ref_name }} transformerlab-web.zip
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
shell: bash
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user