From e41f6c626e946d9bc070b19530fb2e9131e3a495 Mon Sep 17 00:00:00 2001 From: Chris Kaufmann <68157310+windsaenger@users.noreply.github.com> Date: Fri, 11 Jul 2025 11:39:42 +0200 Subject: [PATCH 1/5] Create provider.md Added a guide for changing the provider as a we are legally obliged due to the EU Data Act --- content/docs/provider.md | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 content/docs/provider.md diff --git a/content/docs/provider.md b/content/docs/provider.md new file mode 100644 index 0000000..eff9402 --- /dev/null +++ b/content/docs/provider.md @@ -0,0 +1,46 @@ +--- +description: 'Frequently Asked Questions about Deploy Now, supported frameworks and technologies and how to deploy them.' +sidebar: 'docs' +prev: '/docs/faq/' +next: '/blog/' +editable: true +--- + + + +# Guidance for Migrating a Git-Based Project + +> Due to the EU Data Act, we are legally obliged to inform you about how you can move to another provider. However, we hope you like Deploy Now so much that you stay! + +Moving a project from IONOS Deploy Now to a new hosting provider is a manageable process. Because Deploy Now utilizes a Git-based workflow, your codebase is portable. The migration primarily involves ensuring your code is on an accessible Git provider, connecting that repository to the new host, and updating your domain's DNS. + +## Pre-Migration: Codebase Setup + +Before you begin, you must ensure your project's code is located in a repository that your new hosting provider can access. + +If your code is already located on a compatible Git provider (such as GitHub), you can proceed directly to the "Migration Process" section. + +### Moving Your Codebase to a Different Git Provider + +If your code is on a Git provider that is not compatible with your new host, you must first move the repository. The recommended method is to create a "mirror," which duplicates the repository perfectly, including all branches, tags, and commit history. + +1. **Create a New Repository:** Start by creating a new, empty repository on the target Git provider (e.g., GitHub). +2. **Mirror the Repository:** This is most commonly done via the command line. You perform a "bare clone" of your existing repository and then "mirror-push" it to the new repository's address. The general commands are: + ```bash + git clone --bare [https://old-provider.com/user/repo.git](https://old-provider.com/user/repo.git) + cd repo.git + git push --mirror [https://new-provider.com/user/new-repo.git](https://new-provider.com/user/new-repo.git) + ``` +3. **Confirm the Move:** Once complete, your repository is fully duplicated on the new Git provider, and you can proceed with the migration. + +## Migration Process + +1. **Connect & Configure:** Link your Git repository to the new hosting service. In the new service's dashboard, verify that the project's build command and publish directory are correct. +2. **Transfer Environment Variables:** Copy any environment variables from your IONOS project settings and add them to the project settings on the new platform. +3. **Test Deployment:** Use the preview URL provided by the new host to test your site's functionality before proceeding. + +## Domain and DNS Update + +1. **Add Domain:** Add your custom domain to the project on the new provider's platform. +2. **Update DNS:** Log in to your domain registrar. Replace the existing IONOS DNS records with the new records (`A`, `CNAME`, etc.) supplied by your new provider. +3. **Verify:** After DNS propagation, which can take several hours, confirm that your domain successfully loads the site from the new host. From 77296a9cf278dba45a3e543a23344ca4b6decf1e Mon Sep 17 00:00:00 2001 From: Chris Kaufmann <68157310+windsaenger@users.noreply.github.com> Date: Mon, 14 Jul 2025 09:41:40 +0200 Subject: [PATCH 2/5] Update faq.md Entered the predecessor and successor for provider.md --- content/docs/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/faq.md b/content/docs/faq.md index d26dbd7..aee7bcf 100644 --- a/content/docs/faq.md +++ b/content/docs/faq.md @@ -2,7 +2,7 @@ description: 'Frequently Asked Questions about Deploy Now, supported frameworks and technologies and how to deploy them.' sidebar: 'docs' prev: '/docs/cronjobs/' -next: '/blog/' +next: '/docs/provider' editable: true --- From 3b25d096d385bcf7f967117d6eebba9374109623 Mon Sep 17 00:00:00 2001 From: Chris Kaufmann <68157310+windsaenger@users.noreply.github.com> Date: Mon, 14 Jul 2025 09:46:45 +0200 Subject: [PATCH 3/5] Update gridsome.config.js Added route to navbar --- gridsome.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gridsome.config.js b/gridsome.config.js index 1ce9df9..752bcd5 100644 --- a/gridsome.config.js +++ b/gridsome.config.js @@ -88,6 +88,7 @@ module.exports = { title: "More", items: [ "/docs/faq/", + "/docs/provider/", ...(showBlog ? ["/blog/"] : []), "/about-us/", "/docs/create-sample/", From 3ffd78ed17b46692f04a0535a3d8eb4e0d6bd2fb Mon Sep 17 00:00:00 2001 From: Chris Kaufmann <68157310+windsaenger@users.noreply.github.com> Date: Mon, 14 Jul 2025 10:31:43 +0200 Subject: [PATCH 4/5] Update provider.md --- content/docs/provider.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/provider.md b/content/docs/provider.md index eff9402..5cdf13e 100644 --- a/content/docs/provider.md +++ b/content/docs/provider.md @@ -8,7 +8,7 @@ editable: true -# Guidance for Migrating a Git-Based Project +# How to migrate your Deploy Now Project > Due to the EU Data Act, we are legally obliged to inform you about how you can move to another provider. However, we hope you like Deploy Now so much that you stay! @@ -18,13 +18,13 @@ Moving a project from IONOS Deploy Now to a new hosting provider is a manageable Before you begin, you must ensure your project's code is located in a repository that your new hosting provider can access. -If your code is already located on a compatible Git provider (such as GitHub), you can proceed directly to the "Migration Process" section. +If your code is already located on a compatible Git provider, you can proceed directly to the "Migration Process" section. ### Moving Your Codebase to a Different Git Provider If your code is on a Git provider that is not compatible with your new host, you must first move the repository. The recommended method is to create a "mirror," which duplicates the repository perfectly, including all branches, tags, and commit history. -1. **Create a New Repository:** Start by creating a new, empty repository on the target Git provider (e.g., GitHub). +1. **Create a New Repository:** Start by creating a new, empty repository on the target Git provider (e.g., GitLab, Bitbucket). 2. **Mirror the Repository:** This is most commonly done via the command line. You perform a "bare clone" of your existing repository and then "mirror-push" it to the new repository's address. The general commands are: ```bash git clone --bare [https://old-provider.com/user/repo.git](https://old-provider.com/user/repo.git) From 762fa634ab9e6448763b02c27f4565f7a35cfd89 Mon Sep 17 00:00:00 2001 From: Chris Kaufmann <68157310+windsaenger@users.noreply.github.com> Date: Mon, 14 Jul 2025 13:53:34 +0200 Subject: [PATCH 5/5] Update provider.md Corrected git commands to use mirror as flags --- content/docs/provider.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/provider.md b/content/docs/provider.md index 5cdf13e..78ed955 100644 --- a/content/docs/provider.md +++ b/content/docs/provider.md @@ -27,9 +27,9 @@ If your code is on a Git provider that is not compatible with your new host, you 1. **Create a New Repository:** Start by creating a new, empty repository on the target Git provider (e.g., GitLab, Bitbucket). 2. **Mirror the Repository:** This is most commonly done via the command line. You perform a "bare clone" of your existing repository and then "mirror-push" it to the new repository's address. The general commands are: ```bash - git clone --bare [https://old-provider.com/user/repo.git](https://old-provider.com/user/repo.git) - cd repo.git - git push --mirror [https://new-provider.com/user/new-repo.git](https://new-provider.com/user/new-repo.git) + git clone --mirror https://old-provider.com/user/old-repo.git + cd old-repo + git push --mirror https://new-provider.com/user/new-repo.git ``` 3. **Confirm the Move:** Once complete, your repository is fully duplicated on the new Git provider, and you can proceed with the migration.