Skip to content

Commit

Permalink
adjust deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
FranekStark committed May 16, 2024
1 parent 972955e commit a25b9d1
Showing 1 changed file with 7 additions and 25 deletions.
32 changes: 7 additions & 25 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,18 @@
# This is a basic workflow from https://github.com/satu0king/Github-Documentation-With-Doxygen
name: Doxygen GitHub Pages Deploy Action

name: Doxygen Action

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]

branches:
- main
workflow_dispatch:


# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
deploy:
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: DenverCoder1/[email protected]
- uses: DenverCoder1/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: docs/html
config_file: Doxyfile

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Default Doxyfile build documentation to html directory.
# Change the directory if changes in Doxyfile
publish_dir: ./docs/html
config_file: Doxyfile

0 comments on commit a25b9d1

Please sign in to comment.