diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-06-13 03:43:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 03:43:06 (GMT) |
commit | 281dbf49dcafd93201b327538f8a931a9b2de8b5 (patch) | |
tree | d8eaca437a07705f60e43ef2219598e13930d7f5 /.github | |
parent | 1891387ccbb50932350216370fd83f47924ceecb (diff) | |
download | hdf5-281dbf49dcafd93201b327538f8a931a9b2de8b5.zip hdf5-281dbf49dcafd93201b327538f8a931a9b2de8b5.tar.gz hdf5-281dbf49dcafd93201b327538f8a931a9b2de8b5.tar.bz2 |
Fix gh pages so that the doxygen files are uploaded (#3102)
* Add workspace path
* add debug
* Make one job so workspace files are available
* Put doxygen docs under docs folder in gh-pages
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8601c9e..ae58434 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,8 +45,12 @@ jobs: - run: | echo "Tag already present: ${{ steps.tag_create.outputs.tag_exists }}" - getfiles: + PreRelease-getfiles: runs-on: ubuntu-latest + needs: create-tag + environment: snapshots + permissions: + contents: write steps: - name: Get file base name id: get-file-base @@ -92,21 +96,6 @@ jobs: name: tgz-ubuntu-2204-binary path: ${{ github.workspace }} - # Get files used by release script - - PreRelease: - runs-on: ubuntu-latest - needs: [create-tag, getfiles] - environment: snapshots - permissions: - contents: write - steps: - - 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 - - name: PreRelease tag uses: softprops/action-gh-release@v1 with: @@ -121,12 +110,19 @@ jobs: ${{ 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: List files for the space (Linux) + run: | + ls -l ${{ github.workspace }} + ls ${{ runner.workspace }} + +# - 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 + publish_dir: ${{ github.workspace }}/${{ steps.get-file-base.outputs.FILE_BASE }}.doxygen + destination_dir: ./docs + |