From 8cbb8429efcc851f777d55b0ca1008176cd675c8 Mon Sep 17 00:00:00 2001 From: Krzysztof Romanowski Date: Mon, 19 Apr 2021 15:14:57 +0200 Subject: [PATCH] Disable community docs --- .github/workflows/scaladoc.yaml | 39 --------------------------------- 1 file changed, 39 deletions(-) diff --git a/.github/workflows/scaladoc.yaml b/.github/workflows/scaladoc.yaml index 269950f68962..85b01a626785 100644 --- a/.github/workflows/scaladoc.yaml +++ b/.github/workflows/scaladoc.yaml @@ -70,42 +70,3 @@ jobs: echo uplading docs to https://scala3doc.virtuslab.com/$DOC_DEST az storage container create --name $DOC_DEST --account-name scala3docstorage --public-access container az storage blob upload-batch -s scaladoc/output -d $DOC_DEST --account-name scala3docstorage - - community-docs: - env: - AZURE_STORAGE_SAS_TOKEN: ${{ secrets.AZURE_STORAGE_SAS_TOKEN }} - runs-on: ubuntu-latest - if: "( github.event_name == 'pull_request' - && !contains(github.event.pull_request.body, '[skip ci]') - && !contains(github.event.pull_request.body, '[skip docs]') - ) - || contains(github.event.ref, 'scaladoc') - || contains(github.event.ref, 'scala3doc') - || contains(github.event.ref, 'master')" - - steps: - - name: Git Checkout - uses: actions/checkout@v2 - - - name: Set up JDK 8 - uses: actions/setup-java@v1 - with: - java-version: 8 - - - name: Init submodules - run: git submodule update --init --recursive --jobs 7 - - - name: Generate docs - run: ./project/scripts/sbt "community-build/run doc all docsOutput" - - - name: Upload documentation to server - uses: azure/CLI@v1 - if: env.AZURE_STORAGE_SAS_TOKEN - env: - PR_NUMBER: ${{ github.event.pull_request.number }} - with: - inlineScript: | - DOC_DEST=pr-${PR_NUMBER:-${GITHUB_REF##*/}}-docs - echo uplading docs to https://scala3doc.virtuslab.com/$DOC_DEST - az storage container create --name $DOC_DEST --account-name scala3docstorage --public-access container - az storage blob upload-batch -s community-build/docsOutput -d $DOC_DEST --account-name scala3docstorage