Skip to content

Commit 0227807

Browse files
authored
Merge pull request #439 from devsetgo/dev
Adding Database Disconnect
2 parents 3150eb8 + ceecac6 commit 0227807

File tree

11 files changed

+729
-640
lines changed

11 files changed

+729
-640
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.14.0
2+
current_version = 0.14.1
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+)(?P<num>\d+))?

.github/workflows/build_mkdocs.yml

Lines changed: 74 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,90 @@
1-
name: Publish docs via GitHub Pages
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
workflow_dispatch:
8-
9-
jobs:
10-
build:
11-
name: Deploy docs
12-
runs-on: ubuntu-latest
13-
14-
steps:
15-
- name: Checkout main
16-
uses: actions/checkout@v2
17-
18-
- name: Set up Python
19-
uses: actions/setup-python@v2
20-
with:
21-
python-version: '3.x'
1+
# name: Publish docs via GitHub Pages
222

23-
- name: Install dependencies
24-
run: |
25-
python -m pip install --upgrade pip
26-
pip install -r requirements.txt
3+
# on:
4+
# # push:
5+
# # branches:
6+
# # - main
7+
# workflow_dispatch:
8+
# release:
9+
# types: [published]
10+
# jobs:
11+
# build:
12+
# name: Deploy docs
13+
# runs-on: ubuntu-latest
2714

28-
- name: Generate changelog
29-
run: python3 scripts/changelog.py
15+
# steps:
16+
# - name: Checkout main
17+
# uses: actions/checkout@v2
3018

31-
- name: Build MkDocs site
32-
run: mkdocs build
19+
# - name: Set up Python
20+
# uses: actions/setup-python@v2
21+
# with:
22+
# python-version: '3.x'
3323

34-
- name: Copy README to docs/index.md
35-
run: cp README.md docs/index.md
24+
# - name: Install dependencies
25+
# run: |
26+
# python -m pip install --upgrade pip
27+
# pip install -r requirements.txt
3628

37-
- name: Copy CONTRIBUTING to docs/contribute.md
38-
run: cp CONTRIBUTING.md docs/contribute.md
29+
# - name: Generate changelog
30+
# run: python3 scripts/changelog.py
3931

40-
- name: Copy CHANGELOG to docs/release-notes.md
41-
run: cp CHANGELOG.md docs/release-notes.md
32+
# - name: Build MkDocs site
33+
# run: mkdocs build
4234

43-
- name: Configure git
44-
run: |
45-
git config --global user.name "github-actions[bot]"
46-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
35+
# - name: Copy README to docs/index.md
36+
# run: cp README.md docs/index.md
4737

48-
- name: Stash changes
49-
run: git stash --include-untracked
38+
# - name: Copy CONTRIBUTING to docs/contribute.md
39+
# run: cp CONTRIBUTING.md docs/contribute.md
5040

51-
- name: Pull latest gh-pages
52-
run: |
53-
git fetch origin gh-pages
54-
git checkout gh-pages
55-
git pull origin gh-pages
56-
git checkout -
41+
# - name: Copy CHANGELOG to docs/release-notes.md
42+
# run: cp CHANGELOG.md docs/release-notes.md
5743

58-
- name: Apply stash
59-
run: git stash pop
44+
# - name: Configure git
45+
# run: |
46+
# git config --global user.name "github-actions[bot]"
47+
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
6048

61-
- name: Deploy to GitHub Pages
62-
run: mkdocs gh-deploy --force
63-
env:
64-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
# - name: Stash changes
50+
# run: git stash --include-untracked
6551

66-
# name: Publish docs via GitHub Pages
67-
# on:
68-
# push:
69-
# branches:
70-
# - main
52+
# - name: Pull latest gh-pages
53+
# run: |
54+
# git fetch origin gh-pages
55+
# git checkout gh-pages
56+
# git pull origin gh-pages
57+
# git checkout -
7158

72-
# jobs:
73-
# build:
74-
# name: Deploy docs
75-
# runs-on: ubuntu-latest
76-
# steps:
77-
# - name: Checkout main
78-
# uses: actions/checkout@v2
59+
# - name: Apply stash
60+
# run: git stash pop
7961

80-
# - name: Deploy docs
81-
# uses: mhausenblas/mkdocs-deploy-gh-pages@master
82-
# # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
62+
# - name: Deploy to GitHub Pages
63+
# run: mkdocs gh-deploy --force
8364
# env:
8465
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85-
# CUSTOM_DOMAIN: optionaldomain.com
86-
# CONFIG_FILE: folder/mkdocs.yml
87-
# EXTRA_PACKAGES: build-base
88-
# # GITHUB_DOMAIN: github.myenterprise.com
89-
# REQUIREMENTS: folder/requirements.txt
66+
67+
# # name: Publish docs via GitHub Pages
68+
# # on:
69+
# # push:
70+
# # branches:
71+
# # - main
72+
73+
# # jobs:
74+
# # build:
75+
# # name: Deploy docs
76+
# # runs-on: ubuntu-latest
77+
# # steps:
78+
# # - name: Checkout main
79+
# # uses: actions/checkout@v2
80+
81+
# # - name: Deploy docs
82+
# # uses: mhausenblas/mkdocs-deploy-gh-pages@master
83+
# # # Or use mhausenblas/mkdocs-deploy-gh-pages@nomaterial to build without the mkdocs-material theme
84+
# # env:
85+
# # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86+
# # CUSTOM_DOMAIN: optionaldomain.com
87+
# # CONFIG_FILE: folder/mkdocs.yml
88+
# # EXTRA_PACKAGES: build-base
89+
# # # GITHUB_DOMAIN: github.myenterprise.com
90+
# # REQUIREMENTS: folder/requirements.txt

.github/workflows/pythonpublish.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,58 @@ jobs:
2424
run: |
2525
python -m build
2626
twine upload dist/*
27+
build:
28+
name: Deploy docs
29+
runs-on: ubuntu-latest
30+
31+
steps:
32+
- name: Checkout main
33+
uses: actions/checkout@v2
34+
35+
- name: Set up Python
36+
uses: actions/setup-python@v2
37+
with:
38+
python-version: '3.x'
39+
40+
- name: Install dependencies
41+
run: |
42+
python -m pip install --upgrade pip
43+
pip install -r requirements.txt
44+
45+
- name: Generate changelog
46+
run: python3 scripts/changelog.py
47+
48+
- name: Build MkDocs site
49+
run: mkdocs build
50+
51+
- name: Copy README to docs/index.md
52+
run: cp README.md docs/index.md
53+
54+
- name: Copy CONTRIBUTING to docs/contribute.md
55+
run: cp CONTRIBUTING.md docs/contribute.md
56+
57+
- name: Copy CHANGELOG to docs/release-notes.md
58+
run: cp CHANGELOG.md docs/release-notes.md
59+
60+
- name: Configure git
61+
run: |
62+
git config --global user.name "github-actions[bot]"
63+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
64+
65+
- name: Stash changes
66+
run: git stash --include-untracked
67+
68+
- name: Pull latest gh-pages
69+
run: |
70+
git fetch origin gh-pages
71+
git checkout gh-pages
72+
git pull origin gh-pages
73+
git checkout -
74+
75+
- name: Apply stash
76+
run: git stash pop
77+
78+
- name: Deploy to GitHub Pages
79+
run: mkdocs gh-deploy --force
80+
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

coverage-badge.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)