File tree 1 file changed +0
-39
lines changed
1 file changed +0
-39
lines changed Original file line number Diff line number Diff line change 70
70
echo uplading docs to https://scala3doc.virtuslab.com/$DOC_DEST
71
71
az storage container create --name $DOC_DEST --account-name scala3docstorage --public-access container
72
72
az storage blob upload-batch -s scaladoc/output -d $DOC_DEST --account-name scala3docstorage
73
-
74
- community-docs :
75
- env :
76
- AZURE_STORAGE_SAS_TOKEN : ${{ secrets.AZURE_STORAGE_SAS_TOKEN }}
77
- runs-on : ubuntu-latest
78
- if : " ( github.event_name == 'pull_request'
79
- && !contains(github.event.pull_request.body, '[skip ci]')
80
- && !contains(github.event.pull_request.body, '[skip docs]')
81
- )
82
- || contains(github.event.ref, 'scaladoc')
83
- || contains(github.event.ref, 'scala3doc')
84
- || contains(github.event.ref, 'master')"
85
-
86
- steps :
87
- - name : Git Checkout
88
- uses : actions/checkout@v2
89
-
90
- - name : Set up JDK 8
91
- uses : actions/setup-java@v1
92
- with :
93
- java-version : 8
94
-
95
- - name : Init submodules
96
- run : git submodule update --init --recursive --jobs 7
97
-
98
- - name : Generate docs
99
- run : ./project/scripts/sbt "community-build/run doc all docsOutput"
100
-
101
- - name : Upload documentation to server
102
- uses : azure/CLI@v1
103
- if : env.AZURE_STORAGE_SAS_TOKEN
104
- env :
105
- PR_NUMBER : ${{ github.event.pull_request.number }}
106
- with :
107
- inlineScript : |
108
- DOC_DEST=pr-${PR_NUMBER:-${GITHUB_REF##*/}}-docs
109
- echo uplading docs to https://scala3doc.virtuslab.com/$DOC_DEST
110
- az storage container create --name $DOC_DEST --account-name scala3docstorage --public-access container
111
- az storage blob upload-batch -s community-build/docsOutput -d $DOC_DEST --account-name scala3docstorage
You can’t perform that action at this time.
0 commit comments