File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 1818 - ' docs/**'
1919
2020jobs :
21- deploy :
21+ deploy-docs :
2222 runs-on : ubuntu-latest
2323 if : github.event.pull_request.head.repo.fork == false
2424 steps :
3535 git config user.email "fullstack-devops[bot]@users.noreply.github.com"
3636 - run : |
3737 pip install -r requirements.txt
38- - run : mkdocs gh-deploy --config-file ./mkdocs.yml --force
38+ - run : mkdocs gh-deploy --config-file ./mkdocs.yml --force
Original file line number Diff line number Diff line change 1+ name : Build docs and test
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ build_pull_request :
10+ runs-on : ubuntu-latest
11+ if : github.event.pull_request.head.repo.fork == false
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ with :
16+ submodules : ' recursive'
17+ - uses : actions/setup-python@v4
18+ with :
19+ python-version : 3.x
20+ - name : Configure Git
21+ run : |
22+ git config user.name "fullstack-devops[bot]"
23+ git config user.email "fullstack-devops[bot]@users.noreply.github.com"
24+ - run : |
25+ pip install -r requirements.txt
26+ - run : mkdocs build
You can’t perform that action at this time.
0 commit comments