Skip to content

Commit 1598df9

Browse files
committed
fix the CLI docs workflow
1 parent f3a865e commit 1598df9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

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

Lines changed: 10 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,13 @@ 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+
working-directory: docs
51+
run: |
52+
cat src/content/docs/aws/tooling/localstack-cli.md
4353
4454
- name: Check for changes
4555
id: check-for-changes

0 commit comments

Comments
 (0)