summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-06-07 12:57:13 (GMT)
committerGitHub <noreply@github.com>2023-06-07 12:57:13 (GMT)
commitb3d9a065551ff77647f261a221e1d062d0d6da12 (patch)
treefbda2d150b670d052c1d65820bad59cc28da0aac /.github/workflows
parent8379c2f82496c52f0544b049eb7fa58a0fa340c6 (diff)
downloadhdf5-b3d9a065551ff77647f261a221e1d062d0d6da12.zip
hdf5-b3d9a065551ff77647f261a221e1d062d0d6da12.tar.gz
hdf5-b3d9a065551ff77647f261a221e1d062d0d6da12.tar.bz2
Fix paths for doxygen and add step to upload to gh-pages (#3061)
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