29 lines
734 B
YAML
29 lines
734 B
YAML
name: 📄
|
|
|
|
on:
|
|
push:
|
|
branches: [ "**" ]
|
|
pull_request:
|
|
branches: [ "*" ]
|
|
|
|
jobs:
|
|
# This workflow contains a single job called "build"
|
|
build:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-latest
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
- uses: actions/checkout@v2
|
|
|
|
# Runs a single command using the runners shell
|
|
- name: Run a one-line script
|
|
run: |
|
|
cd doc
|
|
sudo apt-get install doxygen cmake -y
|
|
doxygen
|
|
git stage *
|
|
git commit -m "Documentation"
|
|
git push origin gh-pages
|