39 lines
1014 B
YAML
39 lines
1014 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
|
|
echo done
|
|
git config --global user.email "tobid7@outlook.de"
|
|
git config --global user.name "Tobi-D7"
|
|
echo tobid7
|
|
git stage *
|
|
git pull .
|
|
echo staged
|
|
git commit -m "Documentation"
|
|
git tag doc
|
|
cd ..
|
|
echo commited
|
|
git push origin gh-pages
|
|
echo pushed
|