File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update function coverage docs
2+
3+ on :
4+ schedule :
5+ # “At 00:00 on Sunday.”
6+ - cron : " 0 0 * * 0"
7+ workflow_dispatch :
8+
9+ jobs :
10+ update-function-coverage :
11+ name : Update function coverage docs
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+ with :
17+ path : localstack-docs
18+
19+ - name : Setup Python
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ' 3.10'
23+
24+ - name : Checkout private tools
25+ uses : actions/checkout@v4
26+ with :
27+ repository : localstack/snowflake
28+ path : snowflake
29+ token : ${{ secrets.GH_TOKEN }}
30+
31+ - name : Run the script
32+ run : |
33+ cd localstack-docs
34+ pip install localstack lxml requests
35+ python ../snowflake/etc/coverage.py
36+
37+ - name : Move the generated files
38+ run : |
39+ cd localstack-docs
40+ mv coverage-features.md src/content/docs/snowflake/features/index.md
41+ mv coverage-functions.md src/content/docs/snowflake/sql-functions.md
42+
43+ - name : Commit changes
44+ uses : EndBug/add-and-commit@v9
45+ with :
46+ author_name : ' LocalStack Bot'
47+ 48+ message : ' Updated function coverage docs'
49+ cwd : localstack-docs
50+ add : ' src/content/'
You can’t perform that action at this time.
0 commit comments