File tree Expand file tree Collapse file tree 3 files changed +39
-6
lines changed Expand file tree Collapse file tree 3 files changed +39
-6
lines changed Original file line number Diff line number Diff line change
1
+ on :
2
+ pull_request :
3
+ paths :
4
+ - .github/workflows/cd.installer.yml
5
+ push :
6
+ branches : main
7
+ paths :
8
+ - installer.sh
9
+ - .github/workflows/cd.installer.yml
10
+
11
+ jobs :
12
+ cd :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+
17
+ - uses : aws-actions/configure-aws-credentials@v2
18
+ with :
19
+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
20
+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
21
+ aws-region : us-east-2
22
+
23
+ - run : aws s3 cp ./installer.sh s3://${{ secrets.AWS_S3_BUCKET }}/installer.sh
24
+
25
+ - run : aws cloudfront create-invalidation
26
+ --distribution-id ${{ secrets.AWS_CF_DISTRIBUTION_ID }}
27
+ --paths / /installer.sh
File renamed without changes.
Original file line number Diff line number Diff line change @@ -40,10 +40,17 @@ $ mash ai chat --help # or https://mash.pkgx.sh/ai/chat/
40
40
41
41
## Installing ` mash `
42
42
43
- ` mash ` uses ` pkgx ` for packaging primitives so you may as well use ` pkgx ` to
44
- run ` mash ` :
43
+ To install ` mash ` and ` pkgx ` :
45
44
46
45
``` sh
46
+ curl https://mash.pkgx.sh | sh
47
+ # ^^ installs /usr/local/bin/mash and /usr/local/bin/pkgx
48
+ ```
49
+
50
+ If you prefer, you can run ` mash ` via ` pkgx ` :
51
+
52
+ ``` sh
53
+ $ brew install pkgxdev/made/pkgx # or curl https://pkgx.sh | sh
47
54
$ pkgx mash
48
55
49
56
# or install it via pkgx:
@@ -211,12 +218,11 @@ $ bash ./stargazer
211
218
# ^^ they will need to read the script to determine deps and interpreter
212
219
```
213
220
214
- Hackers can use your script without installing ` pkgx ` first via our cURL
215
- one-liner. This executes the script but doesn’t install pkgx or any other
216
- pkgs:
221
+ Hackers can use your script without installing ` pkgx ` or ` mash ` first via our
222
+ cURL one-liner. This executes the script but doesn’t install anything:
217
223
218
224
``` sh
219
- sh <( curl https://pkgx.sh) mash your-script-name
225
+ sh <( curl https://mash. pkgx.sh) < category > < scriptname >
220
226
```
221
227
222
228
You can’t perform that action at this time.
0 commit comments