summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/cmake-ctest.yml4
-rw-r--r--.github/workflows/release.yml16
2 files changed, 15 insertions, 5 deletions
diff --git a/.github/workflows/cmake-ctest.yml b/.github/workflows/cmake-ctest.yml
index 2c40de5..2647ef8 100644
--- a/.github/workflows/cmake-ctest.yml
+++ b/.github/workflows/cmake-ctest.yml
@@ -152,11 +152,11 @@ jobs:
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
# Save doxygen files created by ctest script
- - name: Save published binary (Linux)
+ - name: Save published doxygen (Linux)
uses: actions/upload-artifact@v3
with:
name: docs-doxygen
- path: ${{ runner.workspace }}/hdf5/build/hdf5lib_docs/html
+ path: ${{ runner.workspace }}/hdf5/build/ci-StdShar-GNUC/hdf5lib_docs/html
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
build_and_test_mac:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d08ab2f..8601c9e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,8 +48,8 @@ jobs:
getfiles:
runs-on: ubuntu-latest
steps:
- - name: Set file base name
- id: set-file-base
+ - name: Get file base name
+ id: get-file-base
run: |
FILE_NAME_BASE=$(echo "${{ inputs.file_base }}")
echo "FILE_BASE=$FILE_NAME_BASE" >> $GITHUB_OUTPUT
@@ -101,7 +101,7 @@ jobs:
permissions:
contents: write
steps:
- - name: Set file base name
+ - name: Get file base name
id: get-file-base
run: |
FILE_NAME_BASE=$(echo "${{ inputs.file_base }}")
@@ -120,3 +120,13 @@ jobs:
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204.tar.gz
${{ steps.get-file-base.outputs.FILE_BASE }}-win_vs2022.zip
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
+
+ - name: Create .nojekyll
+ run: touch ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen/.nojekyll
+ shell: bash
+
+ - name: dev-only-docs
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen