Debian Codegraph @

.github/workflows/pages.yaml

raw symbols SCIP
1 ---
2 name: Deploy static content to Pages
3
4 on:
5 push:
6 branches:
7 - main
8
9 workflow_dispatch:
10
11 permissions:
12 contents: read
13 pages: write
14 id-token: write
15 actions: read
16
17 concurrency:
18 group: "pages"
19 cancel-in-progress: true
20
21 jobs:
22 deploy:
23 environment:
24 name: github-pages
25 url: ${{ steps.deployment.outputs.page_url }}
26 runs-on: ubuntu-latest
27 strategy:
28 fail-fast: false
29 steps:
30 - uses: actions/checkout@v4
31 - name: Set up Python ${{ matrix.python-version }}
32 uses: actions/setup-python@v5
33 with:
34 python-version: '3.x'
35 - name: Install dependencies
36 run: |
37 pip install -r requirements.txt
38
39 - run: pdoc ./rtsp_to_webrtc -o docs/
40
41 - name: Setup Pages
42 uses: actions/configure-pages@v5
43 - name: Upload artifact
44 uses: actions/upload-pages-artifact@v3
45 with:
46 # Upload entire repository
47 path: 'docs/'
48 - name: Deploy to GitHub Pages
49 id: deployment
50 uses: actions/deploy-pages@v4