Skip to content

Commit 74d973b

Browse files
committed
Removes amount_input, to work more stable
1 parent fc0a3fc commit 74d973b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/circular_release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ name: Collect_Build
44
on:
55
workflow_dispatch:
66
inputs:
7-
amount:
8-
description: 'Amount of projects to fetch. For production this should be 1000 or higher.'
9-
required: true
10-
type: number
11-
default: 1000
7+
# amount:
8+
# description: 'Amount of projects to fetch. For production this should be 1000 or higher.'
9+
# required: true
10+
# type: number
11+
# default: 1000
1212
deploy:
1313
description: 'Docs shall be deployed'
1414
required: true
@@ -34,7 +34,7 @@ jobs:
3434
ON_CI: True
3535
GH_KEY: ${{ secrets.GITHUB_TOKEN }}
3636
AWESOMESPHINX_NEEDS_FILE: "/../awesome.json"
37-
AWESOMESPHINX_AMOUNT: ${{ github.event.inputs.amount }}
37+
AWESOMESPHINX_AMOUNT: 1000
3838
steps:
3939
- uses: actions/checkout@v3
4040
with:

scripts/awesome_config.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,12 @@
2929

3030
# Used during development to reduce amount of data to fetch
3131
# Normally a search contains ~600 findings
32-
MAX_DATA = os.environ.get('AWESOMESPHINX_AMOUNT', 3)
32+
MAX_DATA = os.environ.get('AWESOMESPHINX_AMOUNT', -1)
33+
if MAX_DATA == -1:
34+
MAX_DATA = 1000
3335

3436
if MAX_DATA == '' or MAX_DATA is None:
35-
MAX_DATA == 3
37+
MAX_DATA == 1000
3638
try:
3739
MAX_DATA = int(MAX_DATA)
3840
except ValueError:

0 commit comments

Comments
 (0)