FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
validators/.github/workflows/docs.yaml.bkp at master · python-validators/validators · GitHub
python-validators
validators
Repository navigation
Code
Issues
6
(6)
Pull requests
34
(34)
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
validators
/
.github
/
workflows
/
docs.yaml.bkp
Copy path
More file actions
More file actions
Latest commit
History
History
History
53 lines (53 loc) · 1.31 KB
Breadcrumbs
validators
/
.github
/
workflows
/
docs.yaml.bkp
Copy path
File metadata and controls
53 lines (53 loc) · 1.31 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Documentation
name: docs
on:
workflow_dispatch:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
env:
BUILD_PATH: .
PIP_DISABLE_PIP_VERSION_CHECK: 1
steps:
# checkout repository
- name: Checkout repository
uses: actions/checkout@v4
# set up specific python version
- name: Set up Python v3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
# building
- name: Install 'documentation' dependencies
run: |
pip install .
pip install -r package/requirements.mkdocs.txt
- name: Build documentation
run: python package/export doc
# set up Pages
- name: Set up Pages
uses: actions/configure-pages@v4
# upload static page
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.BUILD_PATH }}/site
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# deploy documentation
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Back
|
FazBrowse Home
|
New Git URL