Skip to content

Commit 0c1d8da

Browse files
Disable old docs workflow (#727)
1 parent 1664def commit 0c1d8da

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ concurrency:
44
cancel-in-progress: true
55
on:
66
push:
7-
tags:
8-
- '*.*.*'
97
branches:
10-
- '**'
8+
- master'
119
paths:
1210
- 'docs/**'
1311
- 'scripts/**'
@@ -41,25 +39,11 @@ jobs:
4139
run: make install
4240

4341
- name: Build docs (docs)
44-
if: startsWith(github.ref, 'refs/tags') && !contains(github.ref, 'rc')
4542
run: MDBOOK_ROOT=https://docs.dipdup.io make docs
4643

4744
- name: Deploy to GH Pages (docs)
48-
if: startsWith(github.ref, 'refs/tags') && !contains(github.ref, 'rc')
4945
uses: peaceiris/actions-gh-pages@v3
5046
with:
5147
github_token: ${{ secrets.GITHUB_TOKEN }}
5248
publish_dir: ./docs/dist/docs
5349
destination_dir: docs
54-
55-
- name: Build docs (docs-next)
56-
if: startsWith(github.ref, 'refs/heads')
57-
run: MDBOOK_ROOT=https://docs-next.dipdup.io make docs
58-
59-
- name: Deploy to GH Pages (docs-next)
60-
if: startsWith(github.ref, 'refs/heads/master')
61-
uses: peaceiris/actions-gh-pages@v3
62-
with:
63-
github_token: ${{ secrets.GITHUB_TOKEN }}
64-
publish_dir: ./docs/dist/docs
65-
destination_dir: docs-next

0 commit comments

Comments
 (0)