Level 4
In your settings secrets?? Just try to modify with "${{ secrets.ENVOYER_URL }}"
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi !
I'm started to take a look using CI/CD. i having a private repo to github and would like to create a workflow to testing before deploy.
i tried like this :
name: Laravel
on: [push]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist
- name: Generate key
run: php artisan key:generate
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit
- name: Deploy to Envoyer.io
run: |
curl ${{ENVOYER_URL}}
the error says that ENVOYER_URL is unknow, i created it in my settings... what i'm doing wrong ?
Thanks for helping.
In your settings secrets?? Just try to modify with "${{ secrets.ENVOYER_URL }}"
Please or to participate in this conversation.