FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Sim-Racing-Arduino/.github/workflows/docs.yml at master · DieselFuel147/Sim-Racing-Arduino · GitHub
DieselFuel147
/
Sim-Racing-Arduino
Public
forked from
dmadison/Sim-Racing-Arduino
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Sim-Racing-Arduino
/
.github
/
workflows
/
docs.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
57 lines (51 loc) · 2.11 KB
Breadcrumbs
Sim-Racing-Arduino
/
.github
/
workflows
/
docs.yml
Copy path
File metadata and controls
57 lines (51 loc) · 2.11 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name
:
docs
on
:
workflow_dispatch
:
release
:
types
:
released
jobs
:
docs
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Fetch Repository Reference Info
id
:
repo-info
run
:
|
git fetch --prune --unshallow --tags
RELEASE_TAG=${{ github.event.release.tag_name }}
LATEST_TAG=$(git tag | grep -E '^v[0-9]' | sort -V | tail -1)
GIT_SHA_SHORT=$(sed 's/\(.\{7\}\).*/\1/' <<< "$GITHUB_SHA")
PROJECT_NUMBER=${RELEASE_TAG:-${LATEST_TAG:-$GIT_SHA_SHORT}}
COMMIT_MSG=$PROJECT_NUMBER
if [ "$PROJECT_NUMBER" != "$GIT_SHA_SHORT" ]; then COMMIT_MSG+=" ($GITHUB_SHA)"; fi
echo "The project number is \"$PROJECT_NUMBER\" and the commit message is \"$COMMIT_MSG\""
echo "project-number=$PROJECT_NUMBER" >> $GITHUB_OUTPUT
echo "commit-message=$COMMIT_MSG" >> $GITHUB_OUTPUT
-
name
:
Install Doxygen
env
:
DOXYGEN_VERSION
:
1.11.0
run
:
|
wget -q https://www.doxygen.nl/files/doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
tar -xf doxygen-${{ env.DOXYGEN_VERSION }}.linux.bin.tar.gz
cd doxygen-${{ env.DOXYGEN_VERSION }} && sudo make install
-
name
:
Install Themes
env
:
DOXYGEN_AWESOME_VERSION
:
2.3.3
working-directory
:
./docs
run
:
|
git clone --depth 1 -b v${{ env.DOXYGEN_AWESOME_VERSION }} https://github.com/jothepro/doxygen-awesome-css
-
name
:
Generate Docs
working-directory
:
./docs
run
:
|
sed -i -E 's/(PROJECT_NUMBER\s*=\s*).*/\1 ${{ steps.repo-info.outputs.project-number }}/g' Doxyfile
doxygen Doxyfile
-
name
:
Deploy Docs
uses
:
peaceiris/actions-gh-pages@v4
with
:
github_token
:
${{ secrets.GITHUB_TOKEN }}
publish_branch
:
gh-pages
publish_dir
:
./docs/generated/html
destination_dir
:
docs
user_name
:
github-actions[bot]
user_email
:
github-actions[bot]@users.noreply.github.com
full_commit_message
:
Update docs for ${{ steps.repo-info.outputs.commit-message }}
Back
|
FazBrowse Home
|
New Git URL