From e27cc30f6284ce99e93fc80928c51865f8b24544 Mon Sep 17 00:00:00 2001 From: dinesh Date: Wed, 25 Dec 2024 07:28:38 +0530 Subject: [PATCH] chore: added description to e.g --- apps/docs/content/dotnet/how-to/build-pipeline.mdx | 5 +++++ apps/docs/content/go/how-to/build-pipeline.mdx | 5 +++++ apps/docs/content/java/how-to/build-pipeline.mdx | 5 +++++ apps/docs/content/php/how-to/build-pipeline.mdx | 5 +++++ apps/docs/content/python/how-to/build-pipeline.mdx | 5 +++++ apps/docs/content/references/cli/commands.mdx | 4 ++++ apps/docs/content/rust/how-to/build-pipeline.mdx | 5 +++++ 7 files changed, 34 insertions(+) diff --git a/apps/docs/content/dotnet/how-to/build-pipeline.mdx b/apps/docs/content/dotnet/how-to/build-pipeline.mdx index 188346b6..29b0b419 100644 --- a/apps/docs/content/dotnet/how-to/build-pipeline.mdx +++ b/apps/docs/content/dotnet/how-to/build-pipeline.mdx @@ -369,6 +369,11 @@ zerops: / src / file.txt; ``` +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + + :::note `.deployignore` file also works with `zcli service deploy` command. ::: diff --git a/apps/docs/content/go/how-to/build-pipeline.mdx b/apps/docs/content/go/how-to/build-pipeline.mdx index 53f0f864..48465913 100644 --- a/apps/docs/content/go/how-to/build-pipeline.mdx +++ b/apps/docs/content/go/how-to/build-pipeline.mdx @@ -363,6 +363,11 @@ zerops: / src / file.txt; ``` +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + + :::note `.deployignore` file also works with `zcli service deploy` command. ::: diff --git a/apps/docs/content/java/how-to/build-pipeline.mdx b/apps/docs/content/java/how-to/build-pipeline.mdx index 9dbd048c..2d4c22b6 100644 --- a/apps/docs/content/java/how-to/build-pipeline.mdx +++ b/apps/docs/content/java/how-to/build-pipeline.mdx @@ -363,6 +363,11 @@ zerops: / src / file.txt; ``` +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + + :::note `.deployignore` file also works with `zcli service deploy` command. ::: diff --git a/apps/docs/content/php/how-to/build-pipeline.mdx b/apps/docs/content/php/how-to/build-pipeline.mdx index d1754a38..fcb19169 100644 --- a/apps/docs/content/php/how-to/build-pipeline.mdx +++ b/apps/docs/content/php/how-to/build-pipeline.mdx @@ -367,6 +367,11 @@ zerops: / src / file.txt; ``` +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + + :::note `.deployignore` file also works with `zcli service deploy` command. ::: diff --git a/apps/docs/content/python/how-to/build-pipeline.mdx b/apps/docs/content/python/how-to/build-pipeline.mdx index eeffb8c9..ed5698a7 100644 --- a/apps/docs/content/python/how-to/build-pipeline.mdx +++ b/apps/docs/content/python/how-to/build-pipeline.mdx @@ -320,6 +320,11 @@ zerops: / src / file.txt; ``` +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + + :::note `.deployignore` file also works with `zcli service deploy` command. ::: diff --git a/apps/docs/content/references/cli/commands.mdx b/apps/docs/content/references/cli/commands.mdx index 2fb544df..86a13c23 100644 --- a/apps/docs/content/references/cli/commands.mdx +++ b/apps/docs/content/references/cli/commands.mdx @@ -245,6 +245,10 @@ Add a `.deployignore` file to the root of your project to specify which files an Example to ignore `/src/file.txt` file in deploy: +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + ```jsx title="zerops.yml" zerops: - setup: app diff --git a/apps/docs/content/rust/how-to/build-pipeline.mdx b/apps/docs/content/rust/how-to/build-pipeline.mdx index cda1014c..3d8be168 100644 --- a/apps/docs/content/rust/how-to/build-pipeline.mdx +++ b/apps/docs/content/rust/how-to/build-pipeline.mdx @@ -354,6 +354,11 @@ zerops: / src / file.txt; ``` +:::note +`./src/assets/fonts` deploys as `/var/www/src/assets/fonts`, whereas `./src/assets/~fonts` simplifies it to `/var/www/fonts`. +::: + + :::note `.deployignore` file also works with `zcli service deploy` command. :::