1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 03:08:14 +00:00

Update publish-api-documentation.yml

This commit is contained in:
grossmj 2023-09-03 16:52:30 +07:00
parent e61ada69bb
commit 476658b829

View File

@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
ref: "gh-pages" ref: "gh-pages"
- uses: actions/setup-python@v2 - uses: actions/setup-python@v3
with: with:
python-version: 3.7 python-version: 3.7
- name: Merge changes from 3.0 branch - name: Merge changes from 3.0 branch
@ -24,13 +24,10 @@ jobs:
git config user.name github-actions git config user.name github-actions
git config user.email github-actions@github.com git config user.email github-actions@github.com
git merge origin/3.0 -X theirs git merge origin/3.0 -X theirs
- name: Install dependencies - name: Install GNS3 server and dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi python -m pip install .[dev]
- name: Install GNS3 server
run: |
python setup.py install
- name: Generate the API documentation - name: Generate the API documentation
run: | run: |
cd scripts cd scripts