Skip to content

Adding Database Disconnect #439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Aug 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.14.0
current_version = 0.14.1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+)(?P<num>\d+))?
Expand Down
147 changes: 74 additions & 73 deletions .github/workflows/build_mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,89 +1,90 @@
name: Publish docs via GitHub Pages

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest

steps:
- name: Checkout main
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
# name: Publish docs via GitHub Pages

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# on:
# # push:
# # branches:
# # - main
# workflow_dispatch:
# release:
# types: [published]
# jobs:
# build:
# name: Deploy docs
# runs-on: ubuntu-latest

- name: Generate changelog
run: python3 scripts/changelog.py
# steps:
# - name: Checkout main
# uses: actions/checkout@v2

- name: Build MkDocs site
run: mkdocs build
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: '3.x'

- name: Copy README to docs/index.md
run: cp README.md docs/index.md
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt

- name: Copy CONTRIBUTING to docs/contribute.md
run: cp CONTRIBUTING.md docs/contribute.md
# - name: Generate changelog
# run: python3 scripts/changelog.py

- name: Copy CHANGELOG to docs/release-notes.md
run: cp CHANGELOG.md docs/release-notes.md
# - name: Build MkDocs site
# run: mkdocs build

- name: Configure git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
# - name: Copy README to docs/index.md
# run: cp README.md docs/index.md

- name: Stash changes
run: git stash --include-untracked
# - name: Copy CONTRIBUTING to docs/contribute.md
# run: cp CONTRIBUTING.md docs/contribute.md

- name: Pull latest gh-pages
run: |
git fetch origin gh-pages
git checkout gh-pages
git pull origin gh-pages
git checkout -
# - name: Copy CHANGELOG to docs/release-notes.md
# run: cp CHANGELOG.md docs/release-notes.md

- name: Apply stash
run: git stash pop
# - name: Configure git
# run: |
# git config --global user.name "github-actions[bot]"
# git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Stash changes
# run: git stash --include-untracked

# name: Publish docs via GitHub Pages
# on:
# push:
# branches:
# - main
# - name: Pull latest gh-pages
# run: |
# git fetch origin gh-pages
# git checkout gh-pages
# git pull origin gh-pages
# git checkout -

# jobs:
# build:
# name: Deploy docs
# runs-on: ubuntu-latest
# steps:
# - name: Checkout main
# uses: actions/checkout@v2
# - name: Apply stash
# run: git stash pop

# - name: Deploy docs
# uses: mhausenblas/mkdocs-deploy-gh-pages@master
# # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
# - name: Deploy to GitHub Pages
# run: mkdocs gh-deploy --force
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# CUSTOM_DOMAIN: optionaldomain.com
# CONFIG_FILE: folder/mkdocs.yml
# EXTRA_PACKAGES: build-base
# # GITHUB_DOMAIN: github.myenterprise.com
# REQUIREMENTS: folder/requirements.txt

# # name: Publish docs via GitHub Pages
# # on:
# # push:
# # branches:
# # - main

# # jobs:
# # build:
# # name: Deploy docs
# # runs-on: ubuntu-latest
# # steps:
# # - name: Checkout main
# # uses: actions/checkout@v2

# # - name: Deploy docs
# # uses: mhausenblas/mkdocs-deploy-gh-pages@master
# # # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
# # env:
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # CUSTOM_DOMAIN: optionaldomain.com
# # CONFIG_FILE: folder/mkdocs.yml
# # EXTRA_PACKAGES: build-base
# # # GITHUB_DOMAIN: github.myenterprise.com
# # REQUIREMENTS: folder/requirements.txt
55 changes: 55 additions & 0 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,58 @@ jobs:
run: |
python -m build
twine upload dist/*
build:
name: Deploy docs
runs-on: ubuntu-latest

steps:
- name: Checkout main
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt

- name: Generate changelog
run: python3 scripts/changelog.py

- name: Build MkDocs site
run: mkdocs build

- name: Copy README to docs/index.md
run: cp README.md docs/index.md

- name: Copy CONTRIBUTING to docs/contribute.md
run: cp CONTRIBUTING.md docs/contribute.md

- name: Copy CHANGELOG to docs/release-notes.md
run: cp CHANGELOG.md docs/release-notes.md

- name: Configure git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Stash changes
run: git stash --include-untracked

- name: Pull latest gh-pages
run: |
git fetch origin gh-pages
git checkout gh-pages
git pull origin gh-pages
git checkout -

- name: Apply stash
run: git stash pop

- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion coverage-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading