Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds default-environment option #184

Merged
merged 3 commits into from
May 19, 2022
Merged

Conversation

nunomaduro
Copy link
Member

This pull request adds the default-environment option to the vapor.yml file. In other words, people can now set their default environment using the code bellow, and any command like vapor deploy, vapor up, vapor secret:list, will use the selected default environment instead of staging.

id: 1
name: app
default-environment: production
environments:
    production:
        build:
            - 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
    qa:
        build:
            - 'COMPOSER_MIRROR_PATH_REPOS=1 composer install'

This is useful, as there is a lot of people who don't have staging environment.

@taylorotwell taylorotwell merged commit 2a14fd9 into master May 19, 2022
@taylorotwell taylorotwell deleted the feat/default-environment branch May 19, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants