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: copy .env.ci before composer install in CI

Paulo Castellano2691bf172c02
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index aa1df6f09..8e67ca5ca 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -68,6 +68,11 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
+ - name: Prepare environment
+ run: |
+ cp .env.ci .env
+ php artisan key:generate || true
+
- name: Install Composer dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
@@ -77,11 +82,6 @@ jobs:
- name: Build assets
run: npm run build
- - name: Prepare environment
- run: |
- cp .env.ci .env
- php artisan key:generate
-
- name: Clear Config
run: php artisan config:clear