Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Stages don't appear to fully apply #77

@me4502

Description

@me4502

I've setup a deployment system with a "test", "beta", and "prod" stage, and it doesn't appear to apply the stage to the name of all of the functions.

Here is my package.json scripts,

    "deploy:test": "NODE_ENV=production APP_STAGE=test serverless deploy --stage test",
    "deploy:beta": "NODE_ENV=production APP_STAGE=beta serverless deploy --stage beta",
    "deploy:prod": "NODE_ENV=production APP_STAGE=prod serverless deploy --stage prod",

The pages themselves are being uploaded with 'dev' as the stage name, which is the default for serverless.

Eg, project-name-dev-notFoundErrorPage

Also, the application itself appears to have the stage appended to the end (project-name-test), but only for the first upload. Therefore when I do a beta deploy it also gets pushed to project-name-test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions