diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-06-07 12:57:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 12:57:13 (GMT) |
commit | b3d9a065551ff77647f261a221e1d062d0d6da12 (patch) | |
tree | fbda2d150b670d052c1d65820bad59cc28da0aac /.github/workflows/release.yml | |
parent | 8379c2f82496c52f0544b049eb7fa58a0fa340c6 (diff) | |
download | hdf5-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/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 16 |
1 files changed, 13 insertions, 3 deletions
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 |