Update compile-web-panel.yml

This commit is contained in:
Bozhidar Slaveykov 2024-04-06 22:41:54 +03:00
parent fe6adfbdd8
commit 93159327fb

View file

@ -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'