Update compile-web-panel.yml
This commit is contained in:
parent
fe6adfbdd8
commit
93159327fb
1 changed files with 16 additions and 2 deletions
18
.github/workflows/compile-web-panel.yml
vendored
18
.github/workflows/compile-web-panel.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.2
|
||||
|
||||
|
||||
- name: Install Composer Dependencies
|
||||
working-directory: ./web
|
||||
run: |
|
||||
|
@ -50,4 +50,18 @@ jobs:
|
|||
rm -rf .phpunit.cache
|
||||
rm -rf vendor/composer/tmp-*.zip
|
||||
find . \( -name ".git" -o -name ".gitignore" -o -name ".gitmodules" -o -name ".gitattributes" \) -exec rm -rf -- {} +
|
||||
zip -r phyre-web-panel-${{ env.GITHUB_REF_SLUG }}-unstable.zip `ls -A`
|
||||
zip -r phyre-web-panel-dev-unstable.zip `ls -A`
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_user_name: Cloud Vision Bot
|
||||
commit_user_email: bobicloudvision@gmail.com
|
||||
commit_author: Cloud Vision Bot <bobicloudvision@gmail.com>
|
||||
commit_message: Upload compiled packages [BOT]
|
||||
branch: web-panel-unstable-dist
|
||||
file_pattern: '/web/phyre-web-panel-dev-unstable.zip'
|
||||
repository: ./dist
|
||||
#skip_checkout: true
|
||||
#push_options: '--force'
|
||||
#skip_fetch: true
|
||||
#create_branch: true
|
||||
# status_options: '--untracked-files=no'
|
||||
|
|
Loading…
Reference in a new issue