Skip to content

Commit 1f4516c

Browse files
authored
Removed http from url in curl command (#878)
* remove http from url in curl * refine install
1 parent 685e2f3 commit 1f4516c

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

.github/workflows/install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ jobs:
1616

1717
steps:
1818
- name: Install defang (latest)
19-
run: eval "$(curl -fsSL https://s.defang.io/install)"
19+
run: eval "$(curl -fsSL s.defang.io/install)"
2020
env:
2121
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # avoid rate limiting
2222

2323
- name: Sanity check
2424
run: defang --version
2525

2626
- name: Install defang (specific version)
27-
run: eval "$(curl -fsSL https://s.defang.io/install)"
27+
run: eval "$(curl -fsSL s.defang.io/install)"
2828
env:
2929
DEFANG_INSTALL_VERSION: v0.5.36
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # alt name

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Install the Defang CLI from one of the following sources:
2929

3030
* Using a shell script:
3131
```
32-
eval "$(curl -fsSL https://s.defang.io/install)"
32+
eval "$(curl -fsSL s.defang.io/install)"
3333
```
3434

3535
* Using [Go](https://go.dev):

src/bin/install

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
################################################################################################
2-
# #
3-
# This script installs the latest release of defang from GitHub. It is designed #
4-
# to be run like this: #
5-
# #
6-
# eval "$(curl -fsSL https://s.defang.io/install)" #
7-
# #
8-
# This allows us to do some interactive stuff where we can prompt the user for input. #
9-
# #
10-
################################################################################################
1+
#######################################################################################
2+
# #
3+
# This script installs the latest release of defang from GitHub. It is designed #
4+
# to be run like this: #
5+
# #
6+
# eval "$(curl -fsSL s.defang.io/install)" #
7+
# #
8+
# This allows us to do some interactive stuff where we can prompt the user for input. #
9+
# #
10+
#######################################################################################
1111

1212
echo "\
1313
__ ____

src/pkg/cli/upgrade.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func Upgrade(ctx context.Context) error {
4949
}
5050

5151
// Default to the shell script
52-
printInstructions(`eval "$(curl -fsSL https://s.defang.io/install)"`)
52+
printInstructions(`eval "$(curl -fsSL s.defang.io/install)"`)
5353

5454
return nil
5555
}

0 commit comments

Comments
 (0)