-
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
Showing
29 changed files
with
929 additions
and
167 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,32 @@ | ||
# Configuration: https://dependabot.com/docs/config-file/ | ||
# Docs: https://docs.github.com/en/github/administering-a-repository/keeping-your-dependencies-updated-automatically | ||
|
||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "pip" | ||
target-branch: "develop" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
time: "09:00" | ||
allow: | ||
- dependency-type: "all" | ||
labels: | ||
- draft | ||
- dependencies | ||
- python | ||
- package-ecosystem: "github-actions" | ||
target-branch: "develop" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
time: "09:00" | ||
allow: | ||
- dependency-type: "all" | ||
labels: | ||
- draft | ||
- dependencies | ||
- github_actions |
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
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,44 @@ | ||
name: Deploy MkDocs to GitHub Pages | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
env: | ||
python-version: "3.10" | ||
|
||
jobs: | ||
Deploy-docs: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ env.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.python-version }} | ||
|
||
- name: Install poetry | ||
run: make download-poetry | ||
|
||
- name: Set up pip cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.cache/pypoetry/virtualenvs | ||
key: venv-${{ env.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }} | ||
|
||
- name: Set Poetry Path | ||
run: | | ||
echo "$HOME/.poetry/bin" >> $GITHUB_PATH | ||
- name: Install requirements | ||
run: | | ||
poetry run pip install --upgrade pip | ||
poetry install --only docs | ||
- name: Deploying MkDocs documentation | ||
run: | | ||
poetry run mkdocs build | ||
poetry 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 |
---|---|---|
|
@@ -31,7 +31,7 @@ jobs: | |
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -56,42 +56,3 @@ jobs: | |
--repository-url https://europe-west1-python.pkg.dev/vertex-deployer-sandbox-3a8a/vertex-deployer \ | ||
--verbose \ | ||
dist/* | ||
Deploy-docs: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
concurrency: Deploy-docs | ||
needs: Release | ||
env: | ||
python-version: "3.10" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python ${{ env.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.python-version }} | ||
|
||
- name: Install poetry | ||
run: make download-poetry | ||
|
||
- name: Set up pip cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ~/.cache/pypoetry/virtualenvs | ||
key: venv-${{ env.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }} | ||
|
||
- name: Set Poetry Path | ||
run: | | ||
echo "$HOME/.poetry/bin" >> $GITHUB_PATH | ||
- name: Install requirements | ||
run: | | ||
poetry run pip install --upgrade pip | ||
poetry install --only docs | ||
- name: Deploying MkDocs documentation | ||
run: | | ||
poetry run mkdocs build | ||
poetry 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
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
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
Oops, something went wrong.