Skip to content

Beautiful Open-Source Form Builder

Deploy only if nuxt builds

Julien Nahume1e3fdee9cd9
diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml
index 94de58abb..d3dd812e2 100644
--- a/.github/workflows/laravel.yml
+++ b/.github/workflows/laravel.yml
@@ -153,14 +153,9 @@ jobs:
run: npm run build
production-deploy:
- needs: [ tests ]
+ needs: [ tests, build-nuxt-app ]
if: success() && github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
- strategy:
- fail-fast: true
- matrix:
- php: [ 8.2 ]
-
name: Triggers Deployment (Vapor & Amplify)
steps:
@@ -189,7 +184,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
- php-version: ${{ matrix.php }}
+ php-version: 8.2
extensions: dom, curl, mbstring, pdo, sqlite, pdo_sqlite
tools: composer:v2
coverage: none