Skip to content

Commit 60767c9

Browse files
committed
fix the CLI docs workflow
1 parent f3a865e commit 60767c9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/update-cli-docs.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Update LocalStack CLI Docs
22

33
on:
4+
pull_request:
5+
branches:
6+
- main
47
schedule:
58
# Run on the 15th of every month at 00:00 UTC
69
- cron: "0 0 15 * *"
@@ -40,6 +43,12 @@ jobs:
4043
working-directory: docs
4144
run: |
4245
python3 scripts/generate_cli_docs.py
46+
env:
47+
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
48+
49+
- name: Test
50+
run: |
51+
cat src/content/docs/aws/tooling/localstack-cli.md
4352
4453
- name: Check for changes
4554
id: check-for-changes

0 commit comments

Comments
 (0)