diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 62449fbd2..e59b731f8 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -16,7 +16,7 @@ jobs: steps: - name: Install defang (latest) - run: eval "$(curl -fsSL https://s.defang.io/install)" + run: eval "$(curl -fsSL s.defang.io/install)" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # avoid rate limiting @@ -24,7 +24,7 @@ jobs: run: defang --version - name: Install defang (specific version) - run: eval "$(curl -fsSL https://s.defang.io/install)" + run: eval "$(curl -fsSL s.defang.io/install)" env: DEFANG_INSTALL_VERSION: v0.5.36 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # alt name diff --git a/README.md b/README.md index a07b81abf..6e54b5202 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Install the Defang CLI from one of the following sources: * Using a shell script: ``` - eval "$(curl -fsSL https://s.defang.io/install)" + eval "$(curl -fsSL s.defang.io/install)" ``` * Using [Go](https://go.dev): diff --git a/src/bin/install b/src/bin/install index c53ef210b..e9704c147 100644 --- a/src/bin/install +++ b/src/bin/install @@ -1,13 +1,13 @@ -################################################################################################ -# # -# This script installs the latest release of defang from GitHub. It is designed # -# to be run like this: # -# # -# eval "$(curl -fsSL https://s.defang.io/install)" # -# # -# This allows us to do some interactive stuff where we can prompt the user for input. # -# # -################################################################################################ +####################################################################################### +# # +# This script installs the latest release of defang from GitHub. It is designed # +# to be run like this: # +# # +# eval "$(curl -fsSL s.defang.io/install)" # +# # +# This allows us to do some interactive stuff where we can prompt the user for input. # +# # +####################################################################################### echo "\ __ ____ diff --git a/src/pkg/cli/upgrade.go b/src/pkg/cli/upgrade.go index 82a9f3c8d..b03458ab9 100644 --- a/src/pkg/cli/upgrade.go +++ b/src/pkg/cli/upgrade.go @@ -49,7 +49,7 @@ func Upgrade(ctx context.Context) error { } // Default to the shell script - printInstructions(`eval "$(curl -fsSL https://s.defang.io/install)"`) + printInstructions(`eval "$(curl -fsSL s.defang.io/install)"`) return nil }