Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

fix: reorder CI steps — env before composer, key after

Paulo Castellanod48b508ab392
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 8e67ca5ca..e03112016 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -69,9 +69,7 @@ jobs:
restore-keys: ${{ runner.os }}-composer-
- name: Prepare environment
- run: |
- cp .env.ci .env
- php artisan key:generate || true
+ run: cp .env.ci .env
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
@@ -79,12 +77,12 @@ jobs:
- name: Install npm dependencies
run: npm ci
+ - name: Generate application key
+ run: php artisan key:generate
+
- name: Build assets
run: npm run build
- - name: Clear Config
- run: php artisan config:clear
-
- name: Run migrations
run: php artisan migrate --force
env: