mirror of
https://github.com/SpecterOps/Nemesis
synced 2026-06-08 12:36:42 +00:00
Update generate-api-docs.yml
This commit is contained in:
@@ -3,7 +3,7 @@ name: Generate API Documentation
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
paths:
|
||||
- 'projects/web_api/**'
|
||||
- '.github/workflows/generate-api-docs.yml'
|
||||
- '.github/scripts/generate_api_docs.py'
|
||||
@@ -12,16 +12,21 @@ on:
|
||||
jobs:
|
||||
generate-docs:
|
||||
runs-on: ubuntu-22.04
|
||||
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
|
||||
- name: Setup Python virtualenv
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
|
||||
Reference in New Issue
Block a user