Skip to content

Commit

Permalink
Merge pull request #47 from umdlife/hotfix/update-documentation
Browse files Browse the repository at this point in the history
Commit documentation update in workflow
  • Loading branch information
vicmassy authored Jan 30, 2024
2 parents cfcf6f5 + a49e47d commit 8e1bd67
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
27 changes: 15 additions & 12 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
name: Build Documentation

on:
pull_request:
types: [opened, synchronize, reopened]

# Runs on pushes targeting the default branch
push:
branches: ["main"]

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: main

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -25,6 +29,7 @@ jobs:
- name: Install Doxygen
run: |
cd ..
wget https://www.doxygen.nl/files/doxygen-1.9.7.linux.bin.tar.gz
tar -xzvf doxygen-1.9.7.linux.bin.tar.gz
cd doxygen-1.9.7
Expand All @@ -34,11 +39,9 @@ jobs:
run: |
make -C docs html # This assumes your Sphinx configuration is in a 'docs' folder
# - name: Deploy to GitHub Pages (optional)
# Uncomment the following lines if you want to deploy to GitHub Pages
# run: |
# git checkout gh-pages
# cp -r docs/_build/html/* .
# git add .
# git commit -m "Update documentation"
# git push origin gh-pages
- name: Add and commit
uses: EndBug/[email protected]
with:
author_name: UMLDev Robot
author_email: [email protected]
message: 'Update documentation'
7 changes: 1 addition & 6 deletions .github/workflows/upload-debians.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Debians
on:
push:
tags:
- 'v*'
- '*'

jobs:
build_debians:
Expand All @@ -13,11 +13,6 @@ jobs:
- uses: actions/checkout@v4
with:
path: psdk_ros2
- uses: actions/checkout@v4
with:
repository: dji-sdk/Payload-SDK
ref: 3.5
path: Payload-SDK
- name: ROS 2 Build Debian Package
id: build
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
docs/doxyoutput
docs/api
docs/_build/doctrees

.pre-commit-config.yaml

0 comments on commit 8e1bd67

Please sign in to comment.