Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 23, 2024
1 parent 09f0364 commit 5e07e81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,18 @@ jobs:
if: ${{ github.event_name != 'pull_request' || matrix.qgis_version == 'master' }}
run: |
./scripts/run-docker.sh -v ${QGIS_VERSION}
mv ./build/${{ env.QGIS_VERSION }}/html ./build/${{ env.QGIS_VERSION }}/${{ env.QGIS_VERSION }}
- uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' || matrix.qgis_version == 'master' }}
with:
name: ${{ matrix.qgis_version }}
path: ./build/${{ env.QGIS_VERSION }}/html
path: ./build/${{ env.QGIS_VERSION }}
if-no-files-found: error

- name: Create archive
if: ${{ github.event_name != 'pull_request' || matrix.qgis_version == 'master' }}
run: zip -r pyqgis-docs-${{ env.QGIS_VERSION }}.zip ./build/${{ env.QGIS_VERSION }}/html
run: zip -r pyqgis-docs-${{ env.QGIS_VERSION }}.zip ./build/${{ env.QGIS_VERSION }}

- name: Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 5e07e81

Please sign in to comment.