Comments (5)
This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!
from amplify-hosting.
Any update? trying to do the same and few folks are reaching out to ME!
from amplify-hosting.
cc: @Milan-Shah @chrisbonifacio
from amplify-hosting.
Ummmm, oops have not realized have opened a duplicate copy/paste issue sorry u guys !!!!
from amplify-hosting.
Ummmm, oops have not realized have opened a duplicate copy/paste issue sorry u guys !!!!
Thanks for bumping it up! I'm still waiting for a better solution since the CI/CD is quite a mess.
Maybe a quick solution would be allowing to update specific env params.
this way I can write a small github action script that runs whenever I want to deploy NextJS to Amplify (I can do it now but I need to share all of my Amplify secrets).
Something like this:
- Change the platform
aws amplify update-app --app-id <my-app-id> \
--platform WEB_COMPUTE
--region <my-region>
--update-environment-variables AMPLIFY_MONOREPO_APP_ROOT=nextjs
-
push to my main nextjs branch branch, i.e.,
main_nextjs_branch
, to invoke the build on Amplify -
After a successful build - return the platform to WEB
aws amplify update-app --app-id <my-app-id> \
--platform WEB
--region <my-region>
--update-environment-variables AMPLIFY_MONOREPO_APP_ROOT=react
Note I tried to create a conditional variable but it doesn't work for AMPLIFY_MONOREPO_APP_ROOT
so fixing this might be also useful.
from amplify-hosting.
Related Issues (20)
- Be able to get Amplify project DNSSEC compliant HOT 4
- Issues with remote (backend) function building & size constraints ("Unzipped size must be smaller than..") HOT 3
- Staged Rollout Deployment for Amplify Hosted site HOT 1
- is there a way I can host an app in 2 different platforms HOT 11
- test branch deploy succesfull it gives 404 on domain which is hosted on amplifyapp.com HOT 4
- Command hook for frontend SSG deployments HOT 1
- TTFB is up to 8 seconds for a simple nextjs application HOT 5
- Nextjs 14 Backend Build faild with AWS Appsync and Cognito HOT 1
- Failing on patching AWS Amplify latest version HOT 1
- Ability to provide null/void value in env variable override HOT 1
- Houston, there's a problem We are unable to process your request. Please reach out to your support representative. HOT 4
- sudden build error: !!! CustomerError: Can't find required-server-files.json in build output directory
- Comment ability on preview links HOT 2
- Amplify access logs missing URL path of custom domain HOT 1
- My apps have disappeared from Amplify HOT 6
- Amplify stuck in "Provisioning" step in a monorepo. HOT 1
- Adding caching options to amplify.yml causes "Build container ran out of memory" HOT 2
- Unable to connect a repo in AWS Amplify HOT 4
- Build notification configuration failed with Invalid parameter: Topic Name error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplify-hosting.