Skip to content

Commit 4b603d9

Browse files
committed
docs: push quickstart files to r2
This exposes them at `https://get.gptscript.ai/{file}`. Signed-off-by: Nick Hale <[email protected]>
1 parent 8b4d59a commit 4b603d9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/push-install.yaml renamed to .github/workflows/push-quickstart.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
name: push-install
1+
name: push-quickstart
22
on:
33
push:
44
branches:
55
- main
66
paths:
77
- "scripts/install.sh"
8-
8+
- "examples/echo.gpt"
99
jobs:
10-
push-install:
11-
name: push-install
10+
push-quickstart:
11+
name: push-quickstart
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: checkout
@@ -24,3 +24,4 @@ jobs:
2424
run: |
2525
ls -la
2626
aws s3 cp scripts/install.sh s3://${{ secrets.R2_BUCKET }}/install.sh
27+
aws s3 cp examples/echo.gpt s3://${{ secrets.R2_BUCKET }}/echo.gpt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export OPENAI_API_KEY="your-api-key"
6060
### 3. Run Hello World
6161

6262
```shell
63-
gptscript https://gptscript.ai/echo.gpt --input "Hello, World!"
63+
gptscript https://get.gptscript.ai/echo.gpt --input "Hello, World!"
6464
```
6565

6666
## How it works

0 commit comments

Comments
 (0)