diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index 1ddba5e..9e97765 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -22,55 +22,55 @@ jobs: id: sanitize run: echo "::set-output name=sanitized_branch_name::$(echo ${{ github.ref_name }} | sed 's/\//-/g')" - docs: - runs-on: ubuntu-latest - container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}} - steps: - - name: Install basic dependencies - run: | - wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash - echo "::add-path::$HOME/.nvm" - export PATH="$HOME/.nvm:$PATH" - export NVM_DIR="$HOME/.nvm" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc - echo "$HOME/.nvm" >> $GITHUB_PATH - nvm --version - - name: Install Node - run: | - echo $PATH - echo $GITHUB_PATH - cat $GITHUB_PATH - echo $NVM_DIR - ls -la $HOME/.nvm - nvm install 18 - nvm use 18 - node -v - - name: Checkout repository - uses: https://github.com/actions/checkout@v3 - - name: Build docs - run: | - set -e - export DISPLAY=:99 - Xvfb :99 & - /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product ${{env.INSTANCE}} -output-dir artifacts/ || true - echo "Test existing of ${{ env.ARTIFACT }} artifact" - test -e artifacts/${{ env.ARTIFACT }} - - name: rename artifact - run: | - mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip - - name: Upload documentation - uses: actions/upload-artifact@v3 - with: - name: docs - path: artifacts/wiki.zip - retention-days: 14 - - name: Upload algolia-indexes - uses: actions/upload-artifact@v3 - with: - name: algolia-indexes - path: artifacts/${{ env.ALGOLIA_ARTIFACT }} - retention-days: 14 +# docs: +# runs-on: ubuntu-latest +# container: registry.jetbrains.team/p/writerside/builder/writerside-builder:${{env.DOCKER_VERSION}} +# steps: +# - name: Install basic dependencies +# run: | +# wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash +# echo "::add-path::$HOME/.nvm" +# export PATH="$HOME/.nvm:$PATH" +# export NVM_DIR="$HOME/.nvm" +# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +# echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> ~/.bashrc +# echo "$HOME/.nvm" >> $GITHUB_PATH +# nvm --version +# - name: Install Node +# run: | +# echo $PATH +# echo $GITHUB_PATH +# cat $GITHUB_PATH +# echo $NVM_DIR +# ls -la $HOME/.nvm +# nvm install 18 +# nvm use 18 +# node -v +# - name: Checkout repository +# uses: https://github.com/actions/checkout@v3 +# - name: Build docs +# run: | +# set -e +# export DISPLAY=:99 +# Xvfb :99 & +# /opt/builder/bin/idea.sh helpbuilderinspect -source-dir . -product ${{env.INSTANCE}} -output-dir artifacts/ || true +# echo "Test existing of ${{ env.ARTIFACT }} artifact" +# test -e artifacts/${{ env.ARTIFACT }} +# - name: rename artifact +# run: | +# mv artifacts/${{ env.ARTIFACT }} artifacts/wiki.zip +# - name: Upload documentation +# uses: actions/upload-artifact@v3 +# with: +# name: docs +# path: artifacts/wiki.zip +# retention-days: 14 +# - name: Upload algolia-indexes +# uses: actions/upload-artifact@v3 +# with: +# name: algolia-indexes +# path: artifacts/${{ env.ALGOLIA_ARTIFACT }} +# retention-days: 14 build: runs-on: ubuntu-latest