chore: bump copyright year to 2024 (#58) #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2021-2024 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 | |
permissions: | |
id-token: write | |
pages: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deploy-pages.outputs.page_url }} | |
concurrency: | |
group: pages | |
cancel-in-progress: true | |
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: Upload Documentation | |
uses: actions/[email protected] | |
with: | |
path: musen/doc | |
- name: Deploy Pages | |
id: deploy-pages | |
uses: actions/[email protected] |