Skip to content

chore: bump actions/checkout from 2.3.4 to 4.1.1 (#50) #10

chore: bump actions/checkout from 2.3.4 to 4.1.1 (#50)

chore: bump actions/checkout from 2.3.4 to 4.1.1 (#50) #10

# Copyright (c) 2021 ICHIRO ITS
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
name: Deploy Documentation
on:
workflow_dispatch:
push:
branches: [master]
jobs:
deploy-documentation:
runs-on: ubuntu-20.04
steps:
- name: Checkout this repository
uses: actions/[email protected]
with:
path: musen
- name: Install documentation dependencies
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Create a build directory
run: mkdir build
- name: Configure CMake
working-directory: build
run: cmake ../musen
- name: Build documentation
working-directory: build
run: make doc
- name: Deploy documentation
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: musen/doc