forked from DS4SD/deepsearch-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 21c5146
Showing
782 changed files
with
128,640 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.generated/* linguist-generated=true | ||
|
||
*.sh eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This enables DCO bot for you, please take a look https://github.com/probot/dco | ||
# for more details. | ||
require: | ||
members: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Run CI" | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
push: | ||
branches: | ||
- "**" | ||
- "!gh-pages" | ||
|
||
env: | ||
POETRY_VIRTUALENVS_CREATE: false | ||
|
||
jobs: | ||
test-build-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install poetry | ||
run: pip install poetry | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.x | ||
cache: 'pip' | ||
cache-dependency-path: 'poetry.lock' | ||
- name: Install dependencies | ||
run: poetry install | ||
- run: mkdocs build --verbose --clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Build docs" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
env: | ||
POETRY_VIRTUALENVS_CREATE: false | ||
|
||
|
||
jobs: | ||
deploy: | ||
permissions: | ||
contents: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install poetry | ||
run: pip install poetry | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.x | ||
cache: 'pip' | ||
cache-dependency-path: 'poetry.lock' | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Build and push docs | ||
run: mkdocs gh-deploy --force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build and publish to PyPI | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
|
||
env: | ||
POETRY_VIRTUALENVS_CREATE: false | ||
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install poetry | ||
run: pip install poetry | ||
- uses: actions/setup-python@v3 | ||
with: | ||
python-version: 3.x | ||
cache: 'pip' | ||
cache-dependency-path: 'poetry.lock' | ||
- name: Install dependencies | ||
run: poetry install | ||
# - name: Config PyPI token | ||
# # According to this issue, the ENV variable is ignored https://github.com/python-poetry/poetry/issues/2210. | ||
# run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }} | ||
- name: Build and publish | ||
run: poetry publish --build --no-interaction --username=__token__ --password=${{ secrets.PYPI_TOKEN }} |
Oops, something went wrong.