How to deploy with GitHub actions and keep secrets?

Seems to be more of a global issue happening to others right now: "Error: failed to fetch an image or build from source: error building: provided file is not a console"

From your local machine, what’s the output of:
php artisan package:discover

Does it work if you turn off your local database (or change your .env password so it cannot connect)?