Skip to content

Commit f17f8ca

Browse files
committed
build docs only for main
1 parent e3d420b commit f17f8ca

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/documentation.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
name: 📖 Docs
44
on:
55
- push
6-
- pull_request
7-
- workflow_dispatch
6+
# - pull_request
7+
# - workflow_dispatch
88

99
permissions:
1010
contents: write
1111

1212
jobs:
1313
docs:
14-
if: ${{ !github.event.act }} # skip during local actions testing
14+
# if: ${{ !github.event.act }} # skip during local actions testing
15+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: actions/checkout@v3
@@ -24,7 +25,7 @@ jobs:
2425
sphinx-build docs _build
2526
- name: Deploy
2627
uses: peaceiris/actions-gh-pages@v3
27-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
28+
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
2829
with:
2930
publish_branch: gh-pages
3031
github_token: ${{ secrets.GITHUB_TOKEN }}

examples/api_minimal.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
CURRENT_DIR = CURRENT_FILE.parent
2121
PROJECT_DIR = CURRENT_DIR.parent.parent
2222
DB_URL = f"sqlite+aiosqlite:///{CURRENT_DIR}/db.sqlite3"
23-
# DB_URL = f"sqlite+:///{CURRENT_DIR}/db.sqlite3"
2423
sys.path.append(str(PROJECT_DIR))
2524

2625
Base = declarative_base()

0 commit comments

Comments
 (0)