Skip to content

Commit 1b91722

Browse files
committed
Update publish example README to use publish.ts
1 parent a127fee commit 1b91722

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

examples/publish/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Publishes and deploys a Framer project. Designed to run as a one-shot script, ma
55
## Usage
66

77
```bash
8-
node --env-file=../../.env index.ts
8+
node --env-file=../../.env publish.ts
99

10-
bun --env-file=../../.env run index.ts
10+
bun --env-file=../../.env run publish.ts
1111

12-
deno --env-file=../../.env run index.ts
12+
deno --env-file=../../.env run publish.ts
1313
```
1414

1515
## Environment Variables
@@ -29,7 +29,7 @@ Publish every 4 hours:
2929
crontab -e
3030

3131
# Add this line (adjust paths as needed)
32-
0 */4 * * * cd /path/to/examples/publish && node --env-file=../../.env index.ts >> /var/log/framer-publish.log 2>&1
32+
0 */4 * * * cd /path/to/examples/publish && node --env-file=../../.env publish.ts >> /var/log/framer-publish.log 2>&1
3333
```
3434

3535
Common cron schedules:

0 commit comments

Comments
 (0)