Merge branch 'fix/ci' into main #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build on main | |
on: | |
push: | |
branches: ["main", "fix/ci"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
uses: actions/checkout@v3 | |
- | |
run: | | |
composer install | |
npm install | |
git config user.name github-actions | |
git config user.email [email protected] | |
git config push.default current | |
git checkout -b release/main | |
php artisan typescript:transform | |
npm run build | |
git add --force public/build | |
git commit -m "build" | |
git push origin release/main --force |