Skip to content

Commit

Permalink
Disable community docs
Browse files Browse the repository at this point in the history
  • Loading branch information
romanowski committed Apr 19, 2021
1 parent 0ca0b9e commit 8cbb842
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/scaladoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8cbb842

Please sign in to comment.