Skip to content

Commit 20c5696

Browse files
committed
added f and S flags to curl
1 parent d52e08a commit 20c5696

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/check-sample.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Run Checks
2222
id: checks
2323
run: |
24-
eval "$(curl -Ls https://s.defang.io/install)"
24+
eval "$(curl -fsSL https://s.defang.io/install)"
2525
./scripts/check-sample-files.sh > checklist.txt
2626
./scripts/check-modified-samples.sh > modified.txt
2727
echo "@@ MODIFIED @@"
@@ -31,7 +31,7 @@ jobs:
3131
# once we figure out how to prevent it from erroring on warnings.
3232
# - name: Validate Compose Files with Defang CLI
3333
# run: |
34-
# eval "$(curl -Ls https://s.defang.io/install)"
34+
# eval "$(curl -fsSL https://s.defang.io/install)"
3535
# cat modified.txt | xargs -n1 defang compose config -C > /dev/null
3636

3737
- name: Add checklist to PR description

samples/nextjs-documentation/app/pages/getting-started/installing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ brew install defang-io/defang/defang
1717
You can install the Defang CLI using a bash script. Just run the following command in your terminal:
1818

1919
```bash
20-
eval "$(curl -Ls https://s.defang.io/install)"
20+
eval "$(curl -fsSL https://s.defang.io/install)"
2121
```
2222

2323
The script will try to download the appropriate binary for your operating system and architecture, add it to `~/.local/bin`, and add `~/.local/bin` to your `PATH` if it's not already there, with your permission. If you do not provide permission it will print an appropriate instruction for you to follow to add it manually. You can also customize the installation directory by setting the `INSTALL_DIR` environment variable before running the script.

samples/vllm/ui/src/app/docs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ brew install defang-io/defang/defang
107107
You can install the Defang CLI using a bash script. Just run the following command in your terminal:
108108

109109
```bash
110-
eval "$(curl -Ls https://s.defang.io/install)"
110+
eval "$(curl -fsSL https://s.defang.io/install)"
111111
```
112112

113113
The script will try to download the appropriate binary for your operating system and architecture, add it to `~/.local/bin`, and add `~/.local/bin` to your `PATH` if it's not already there, with your permission. If you do not provide permission it will print an appropriate instruction for you to follow to add it manually. You can also customize the installation directory by setting the `INSTALL_DIR` environment variable before running the script.

0 commit comments

Comments
 (0)