diff --git a/.github/workflows/release-docs.yml b/.github/workflows/release-docs.yml index af20ba0..ef42c0e 100644 --- a/.github/workflows/release-docs.yml +++ b/.github/workflows/release-docs.yml @@ -18,11 +18,12 @@ jobs: run: pip install -r mkdocs/requirements.txt - name: Build Docs run: | + mkdir $RUNNER_TEMP/dist mkdocs build -f mkdocs/mkdocs.yml -d $RUNNER_TEMP/${{ github.ref_name }} - zip -r dist/${{ github.ref_name }}.zip $RUNNER_TEMP/${{ github.ref_name }} + zip -r $RUNNER_TEMP/dist/${{ github.ref_name }}.zip $RUNNER_TEMP/${{ github.ref_name }} - name: Release if: ${{ !env.ACT }} uses: softprops/action-gh-release@v2 with: files: | - dist/*.zip \ No newline at end of file + $RUNNER_TEMP/dist/*.zip \ No newline at end of file