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

Serverless.yml env attribute #80

Open
vtr-rivia opened this issue Mar 13, 2021 · 1 comment
Open

Serverless.yml env attribute #80

vtr-rivia opened this issue Mar 13, 2021 · 1 comment

Comments

@vtr-rivia
Copy link

I've read the documents and it showed to me and attribute called env. Where are the env.js file after serverless deploy?

I'm using component: website vue-starter

@vtr-rivia
Copy link
Author

vtr-rivia commented Mar 13, 2021

That is my serverless.yml

org: vtroliveira
app: test
name: front
component: website

inputs:
  env:
    API_URL: ${cf:public-api-${stage}.ServiceEndpoint}
  src:
    src: ./src
    hook: npm run build
    dist: ./dist

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

No branches or pull requests

1 participant