We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d34e69 commit b877b51Copy full SHA for b877b51
.github/workflows/ci.yml
@@ -8,6 +8,8 @@ jobs:
8
build:
9
name: ${{ matrix.config.name }}
10
runs-on: ${{ matrix.config.os }}
11
+ env:
12
+ HDOC_PROJECT_API_KEY: ${{ secrets.HDOC_PROJECT_API_KEY }}
13
strategy:
14
fail-fast: false
15
matrix:
@@ -165,11 +167,11 @@ jobs:
165
167
endif()
166
168
169
- name: Documentation
- if: startsWith(matrix.config.cxx, 'g++')
170
+ if: ${{ startsWith(matrix.config.cxx, 'g++') && env.HDOC_PROJECT_API_KEY != '' }}
171
uses: hdoc/hdoc-github-action@v2
172
with:
173
compile-commands-path: out/compile_commands.json
- hdoc-api-key: ${{ secrets.HDOC_PROJECT_API_KEY }}
174
+ hdoc-api-key: ${{ env.HDOC_PROJECT_API_KEY }}
175
176
- name: Install Strip
177
run: cmake --install out --prefix instdir --strip
0 commit comments