We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 718b6d8 commit 98a520aCopy full SHA for 98a520a
.github/workflows/doxygen.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
tags:
6
- '*'
7
+ branches:
8
+ - main
9
workflow_dispatch:
10
11
jobs:
@@ -32,8 +34,11 @@ jobs:
32
34
33
35
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
36
echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- else
37
+ elif [[ "$GITHUB_REF" == refs/heads/main ]]; then
38
echo "TAG_NAME=latest" >> $GITHUB_OUTPUT
39
+ else
40
+ echo "Unsupported ref: $GITHUB_REF" >&2
41
+ exit 1
42
fi
43
44
- name: Build documentation
0 commit comments