From 2ea46a7cf199d06d8304b137661ae411c33ece03 Mon Sep 17 00:00:00 2001 From: Luc'HACK Date: Tue, 30 Aug 2022 01:19:20 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20New=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8b1087a --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: Build + +on: + push: + branches: + - master + +jobs: + buildApp: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Install dependencies + run: composer install && npm install + + - name: Generate TailwindCSS + run: npm run prod + + - name: Migrate database + run: php artisan migrate + + - name: Launch server + run: php artisan serve