Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed May 3, 2024
1 parent 787d6e1 commit d40e38d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 426 deletions.
259 changes: 0 additions & 259 deletions .github/workflows/e2e.yaml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/go-vod.yml

This file was deleted.

28 changes: 6 additions & 22 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
name: release

on:
release:
types: [published]
push:
branches:
- master
- pulsejet/*

env:
APP_NAME: memories

jobs:
publish:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -31,29 +32,12 @@ jobs:

- name: Build
run: |
make dev-setup
# make dev-setup
make patch-external
make build-js-production
- name: Bundle app
run: bash scripts/bundle.sh
env:
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
APP_PRIVATE_KEY: "TEST"

- 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 }}
Loading

0 comments on commit d40e38d

Please sign in to comment.