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

continous deployment. #14038

Open
GopuSravanKumar opened this issue Dec 9, 2024 · 6 comments
Open

continous deployment. #14038

GopuSravanKumar opened this issue Dec 9, 2024 · 6 comments
Labels
hosting Issues tied to hosting category pending-response Issue is pending response from the issue author pending-triage Issue is pending triage question General question

Comments

@GopuSravanKumar
Copy link

GopuSravanKumar commented Dec 9, 2024

Amplify CLI Version

amplify init

Question

I want to deploy my plain js code to amplify frontend. but when ever i initalize yaml file in the github, it is throwing errors that environment can not be determined or Could not find an Amplify AppId in the amplify-meta.json file. Make sure your project is initialized in the cloud.

can some one give me resolution so that i can deploy code to amplify

in the amplify i have created app using deploy without git. i do not want to use git hub option in amplify. that's why i use this.

i want to push my code to that particular existing app.

thank you in adnvance

@GopuSravanKumar GopuSravanKumar added pending-triage Issue is pending triage question General question labels Dec 9, 2024
@ykethan
Copy link
Member

ykethan commented Dec 10, 2024

Hey @GopuSravanKumar , thank you for reaching out. Could you provide us some additional information on the project.Are you using manual deploy similar to the following setup?
https://docs.aws.amazon.com/amplify/latest/userguide/manual-deploys.html

Could you provide us your amplify.yml file and the full error message?

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Dec 10, 2024
@GopuSravanKumar
Copy link
Author

GopuSravanKumar commented Dec 10, 2024 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Dec 10, 2024
@ykethan
Copy link
Member

ykethan commented Dec 10, 2024

@GopuSravanKumar thank you for the confirmation. When using manual deploy, Amplify hosting does not provide a build step as we take the build artifacts provided by you as a zip file and deploy this for you. This is currently being tracked as feature request on aws-amplify/amplify-hosting#2112

but if you are looking to deploy a static website from your local app, you can use amplify add hosting. Refer to the documentation here.
https://docs.amplify.aws/gen1/react/deploy-and-host/deployment/deploy-static-site-locally/#initialize-a-new-amplify-project

@ykethan ykethan added the pending-response Issue is pending response from the issue author label Dec 10, 2024
@GopuSravanKumar
Copy link
Author

GopuSravanKumar commented Dec 10, 2024 via email

@github-actions github-actions bot removed the pending-response Issue is pending response from the issue author label Dec 10, 2024
@GopuSravanKumar
Copy link
Author

GopuSravanKumar commented Dec 10, 2024 via email

@ykethan
Copy link
Member

ykethan commented Dec 11, 2024

Hey, if you are looking to use github actions to publish your backend and assets you may be able to use Amplify CLI in headless mode.
refer to the following resource providing some information and examples
https://docs.amplify.aws/gen1/react/tools/cli/usage/headless/#amplify-pushpublish-parameters
#13661

as provided when using manual deploy, Amplify hosting does not provide a build step on the console, amplify publish will rather build it locally and push the resources to the cloud as we take the build artifacts as a zip file and deploy this for you.

@ykethan ykethan added hosting Issues tied to hosting category pending-response Issue is pending response from the issue author labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosting Issues tied to hosting category pending-response Issue is pending response from the issue author pending-triage Issue is pending triage question General question
Projects
None yet
Development

No branches or pull requests

2 participants