File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33name : 📖 Docs
44on :
55 - push
6- - pull_request
7- - workflow_dispatch
6+ # - pull_request
7+ # - workflow_dispatch
88
99permissions :
1010 contents : write
1111
1212jobs :
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
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 }}
Original file line number Diff line number Diff line change 2020CURRENT_DIR = CURRENT_FILE .parent
2121PROJECT_DIR = CURRENT_DIR .parent .parent
2222DB_URL = f"sqlite+aiosqlite:///{ CURRENT_DIR } /db.sqlite3"
23- # DB_URL = f"sqlite+:///{CURRENT_DIR}/db.sqlite3"
2423sys .path .append (str (PROJECT_DIR ))
2524
2625Base = declarative_base ()
You can’t perform that action at this time.
0 commit comments