File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11name : ci
2+
23on :
34 push :
45 branches :
56 - main
67 schedule :
78 - cron : ' 0 0 * * *'
89 workflow_dispatch :
10+
911permissions :
1012 contents : write
13+
1114jobs :
1215 deploy :
16+ if : github.repository == 'stashapp/Stash-Docs' # Replace with your repository details
1317 runs-on : ubuntu-latest
1418 env :
1519 BUILDER_GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+
1621 steps :
1722 - uses : actions/checkout@v4
1823 with :
1924 fetch-depth : 0
25+
2026 - name : Configure Git Credentials
2127 run : |
2228 git config user.name github-actions[bot]
2329 git config user.email 41898282+github-actions[bot]@users.noreply.github.com
30+
2431 - uses : actions/setup-python@v5
2532 with :
2633 python-version : 3.x
34+
2735 - uses : actions/setup-node@v4
36+
2837 - name : " Builder setup"
2938 run : |
3039 npm i
3443 ts-node build.ts
3544 cp dist/plugins/* ../docs/plugins/list.md
3645 cp dist/themes/* ../docs/themes/list.md
46+
3747 - run : pip install \
3848 mkdocs-material=="9.*" \
3949 mkdocs-rss-plugin \
4252 mkdocs-glightbox \
4353 mkdocs-material[imaging] \
4454 mkdocs-redirects
55+
4556 - run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments