Skip to content

Merge pull request #28 from siemens/dependabot/github_actions/docker/… #8

Merge pull request #28 from siemens/dependabot/github_actions/docker/…

Merge pull request #28 from siemens/dependabot/github_actions/docker/… #8

Workflow file for this run

# SPDX-FileCopyrightText: © 2021 Avinal Kumar <[email protected]>
# SPDX-License-Identifier: GPL-2.0-only AND LGPL-2.1-only
name: GitHub Pages Deploy
on:
push:
branches:
- master
release:
types:
- published
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install --no-install-recommends -y git doxygen graphviz
- uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Execute docs generation
run: |
chmod +x utils/deploy-pages.sh
bash utils/deploy-pages.sh
env:
GH_REPO_REF: ${{ secrets.GH_REPO_REF }}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GH_TOKEN }}
external_repository: ${{ secrets.GH_REPO_REF }}
publish_branch: master
publish_dir: ./code_docs
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
full_commit_message: ${{ github.event.head_commit.message }}