Automate store push

pull/37/head v1.1.1-b
Varun Patil 2022-09-13 15:39:09 -07:00
parent 1a7241f461
commit f894d69aca
3 changed files with 28 additions and 11 deletions

View File

@ -1,4 +1,4 @@
name: NodeJS with Webpack
name: Build Vue app
on:
push:

View File

@ -1,17 +1,20 @@
name: Releases
name: Release
on:
push:
tags:
- '*'
release:
types: [published]
env:
APP_NAME: memories
jobs:
release:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
@ -24,6 +27,20 @@ jobs:
make build-js-production
./bundle.sh
- uses: ncipollo/release-action@v1
with:
artifacts: "memories.tar.gz"
- name: Upload app tarball to release
uses: svenstaro/upload-release-action@v2
id: attach_to_release
with:
file: memories.tar.gz
asset_name: memories.tar.gz
tag: ${{ github.ref }}
overwrite: true
- name: Upload app to Nextcloud appstore
uses: R0Wi/nextcloud-appstore-push-action@v1
with:
app_name: ${{ env.APP_NAME }}
appstore_token: ${{ secrets.APPSTORE_TOKEN }}
download_url: ${{ steps.attach_to_release.outputs.browser_download_url }}
app_private_key: ${{ secrets.APP_PRIVATE_KEY }}
nightly: ${{ github.event.release.prerelease }}

View File

@ -32,7 +32,7 @@ The exact steps depend on your Nextcloud platform. If you use Docker for your Ne
- **MacOS**: `brew install exiftool`
- **FreeBSD**: `sudo pkg install p5-Image-ExifTool`
]]></description>
<version>1.1.1</version>
<version>1.1.1-b</version>
<licence>agpl</licence>
<author mail="radialapps@gmail.com" >Varun Patil</author>
<website>https://github.com/pulsejet/memories</website>