Alpha release (#3585)

* Reduce release filesize

* tweaks for github actions

* Release asset

* Tweaks for alpha release

* Fixes for release

* Fixes for alpha release
This commit is contained in:
David Bomba 2020-04-02 22:17:56 +11:00 committed by GitHub
parent cfafd65be0
commit d5ab9c32c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,6 @@
on:
release:
types: [released]
#on:
# push:
# branches:
# - v2
name: Upload Release Asset
@ -34,12 +29,18 @@ jobs:
php artisan key:generate
php artisan optimize
php artisan storage:link
sudo php artisan cache:clear
- name: Prepare JS/CSS assets
run: |
npm i
npm run production
- name: Cleanup Builds
run: |
sudo rm -rf nodule_modules/
sudo rm -rf bootstrap/cache/*
- name: Build project # This would actually build your project, using zip for an example artifact
run: |
zip -r ./invoiceninja.zip ./