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 11fcf92 commit 9cb1da6Copy full SHA for 9cb1da6
.github/workflows/documentation.yml
@@ -28,7 +28,8 @@ jobs:
28
submodules: 'recursive'
29
fetch-depth: 0
30
31
- - name: "Clone Documentation"
+ - name: "Clone Documentation Cache"
32
+ id: doc_cache
33
continue-on-error: true
34
uses: actions/checkout@v3
35
with:
@@ -37,6 +38,17 @@ jobs:
37
38
39
40
41
+ - name: "Initialize Documentation Cache"
42
+ if: steps.doc_cache.outcome == 'failure'
43
+ shell: bash
44
+ run: |
45
+ mkdir -p build/docs/html
46
+ pushd build/docs/html
47
+ git init --bare
48
+ git switch --orphan documentation
49
+ git remote add -t documentation origin ${{ github.repositoryUrl }}
50
+ popd
51
+
52
- name: "Install Prerequisites"
53
shell: bash
54
run: |
0 commit comments