File tree Expand file tree Collapse file tree 2 files changed +40
-29
lines changed Expand file tree Collapse file tree 2 files changed +40
-29
lines changed Original file line number Diff line number Diff line change 6
6
- released
7
7
8
8
jobs :
9
- deploy_docs :
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v4
13
- - name : Setup pnpm
14
- uses : pnpm/action-setup@v2
15
- - name : Setup Node.js
16
- uses : actions/setup-node@v3
17
- with :
18
- node-version : 18
19
- cache : pnpm
20
- - name : Install deps
21
- run : pnpm install
22
- - name : Build
23
- run : pnpm docs:build -d docs_dist
24
-
25
- - name : Setup git
26
- run : |
27
- git config --global lfs.allowincompletepush true
28
-
29
- - name : Deploy
30
- uses : peaceiris/actions-gh-pages@v3
31
- with :
32
- personal_token : ${{ secrets.PERSONAL_TOKEN }}
33
- external_repository : taskiq-python/taskiq-python.github.io
34
- publish_dir : ./docs_dist
35
- user_name : " github-actions[bot]"
36
- user_email : " github-actions[bot]@users.noreply.github.com"
37
-
38
9
deploy :
39
10
runs-on : ubuntu-latest
40
11
steps :
Original file line number Diff line number Diff line change
1
+ name : Release docs
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ release :
6
+ types :
7
+ - released
8
+
9
+ permissions :
10
+ contents : write
11
+
12
+ jobs :
13
+ deploy_docs :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Setup pnpm
18
+ uses : pnpm/action-setup@v2
19
+ - name : Setup Node.js
20
+ uses : actions/setup-node@v3
21
+ with :
22
+ node-version : 18
23
+ cache : pnpm
24
+ - name : Install deps
25
+ run : pnpm install
26
+ - name : Build
27
+ run : pnpm docs:build -d docs_dist
28
+
29
+ - name : Setup git
30
+ run : |
31
+ git config --global lfs.allowincompletepush true
32
+
33
+ - name : Deploy
34
+ uses : peaceiris/actions-gh-pages@v3
35
+ with :
36
+ personal_token : ${{ secrets.PERSONAL_TOKEN }}
37
+ external_repository : taskiq-python/taskiq-python.github.io
38
+ publish_dir : ./docs_dist
39
+ user_name : " github-actions[bot]"
40
+ user_email : " github-actions[bot]@users.noreply.github.com"
You can’t perform that action at this time.
0 commit comments