From 33ede8821aaf6efed635cdd11eb4af37af93c00b Mon Sep 17 00:00:00 2001 From: Jonathan Shook Date: Mon, 13 Jan 2025 22:52:13 -0600 Subject: [PATCH] fix for preview action syntax --- .github/workflows/preview.yml | 44 +++++++++++++++++------------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 23105cad5..104c02103 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -207,30 +207,30 @@ jobs: echo "PREVIEW_VERSION=${{ needs.preview-build.outputs.preview_version }}" >> $GITHUB_ENV echo "DOCKER_TAGS=${{ needs.preview-build.outputs.docker_tags }}" >> $GITHUB_ENV - - name: checkout build docs - uses: actions/checkout@v4 - with: - repository: nosqlbench/nosqlbench-build-docs - path: build-docs + - name: checkout build docs + uses: actions/checkout@v4 + with: + repository: nosqlbench/nosqlbench-build-docs + path: build-docs - - name: download exported_docs - uses: actions/download-artifact@v4 - with: - name: exported-docs - path: build-docs + - name: download exported_docs + uses: actions/download-artifact@v4 + with: + name: exported-docs + path: build-docs - - name: overlay docs changes and push - run: | - set -x - cd build-docs - ./doimport.sh - rm exported_docs.zip - git config --global user.email "${{ secrets.NBDROID_EMAIL }}" - git config --global user.name "${{ secrets.NBDROID_NAME }}" - git add . - git tag -f ${{ env.PREVIEW_VERSION }} - git commit -m"docs update for ${{ env.PREVIEW_VERSION }}" - git push + - name: overlay docs changes and push + run: | + set -x + cd build-docs + ./doimport.sh + rm exported_docs.zip + git config --global user.email "${{ secrets.NBDROID_EMAIL }}" + git config --global user.name "${{ secrets.NBDROID_NAME }}" + git add . + git tag -f ${{ env.PREVIEW_VERSION }} + git commit -m"docs update for ${{ env.PREVIEW_VERSION }}" + git push javadocs: needs: preview-docs