renderd7/.github/workflows/Docs.yml
2021-07-23 19:15:31 +02:00

37 lines
998 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 *
echo staged
git subtree push --prefix doc origin gh-pages
git commit -m "Documentation"
git tag doc
echo commited
echo pushed