Skip to content

Commit b16dc17

Browse files
authored
Merge pull request #17 from PANFACTORY/feature/document
Feature/document
2 parents 7b2d7d7 + aec9335 commit b16dc17

2 files changed

Lines changed: 32 additions & 50 deletions

File tree

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,40 @@
1-
# This is a basic workflow to help you get started with Actions
1+
name: Create document
22

3-
name: CI
4-
5-
# Controls when the workflow will run
63
on:
7-
# Triggers the workflow on push or pull request events but only for the "main" branch
84
push:
9-
branches: [ "main" ]
10-
pull_request:
11-
branches: [ "main" ]
12-
13-
# Allows you to run this workflow manually from the Actions tab
5+
branches: ["main"]
146
workflow_dispatch:
157

16-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
1717
jobs:
18-
# This workflow contains a single job called "build"
19-
build:
20-
# The type of runner that the job will run on
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
2122
runs-on: ubuntu-latest
22-
23-
# Steps represent a sequence of tasks that will be executed as part of the job
2423
steps:
25-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v3
27-
28-
# Runs a single command using the runners shell
29-
- name: Run a one-line script
30-
run: echo Hello, world!
31-
32-
# Runs a set of commands using the runners shell
33-
- name: Run a multi-line script
34-
run: |
35-
echo Add other actions to build,
36-
echo test, and deploy your project.
24+
- name: Checkout
25+
uses: actions/checkout@v3
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v2
28+
- name: Install Doxygen
29+
run: sudo apt-get install doxygen -y
30+
shell: bash
31+
- name: Generate Doxygen Documentation
32+
run: doxygen
33+
shell: bash
34+
- name: Upload artifact
35+
uses: actions/upload-pages-artifact@v1
36+
with:
37+
path: './docs/html'
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@v1

.github/workflows/create-release.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)