@@ -157,7 +157,6 @@ jobs:
157
157
jvm : 11
158
158
- name : Test documentation
159
159
run : .github/scripts/check_docs.sh
160
-
161
160
- name : Test gifs
162
161
run : gifs/generate_gifs.sh $(ls gifs/scenarios/)
163
162
@@ -266,6 +265,11 @@ jobs:
266
265
PGP_PASSWORD : ${{ secrets.PGP_PASSPHRASE }}
267
266
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
268
267
SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
268
+ - name : Update stable branch
269
+ uses : ad-m/github-push-action@8407731efefc0d8f72af254c74276b7a90be36e1
270
+ with :
271
+ github_token : ${{ secrets.GITHUB_TOKEN }}
272
+ branch : stable
269
273
270
274
launchers :
271
275
timeout-minutes : 20
@@ -338,51 +342,3 @@ jobs:
338
342
env :
339
343
UPLOAD_GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
340
344
341
-
342
- website-nightly :
343
- # needs: [jvm-tests, format, checks, reference-doc]
344
- if : github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/v')
345
- runs-on : ubuntu-latest
346
- steps :
347
- - uses : actions/checkout@v2
348
- with :
349
- fetch-depth : 0
350
- submodules : true
351
- -
uses :
coursier/[email protected]
352
- -
uses :
coursier/[email protected]
353
- with :
354
- jvm : 11
355
- - run : ./mill -i ci.setShouldPublish
356
-
357
- if : env.SHOULD_PUBLISH == 'true'
358
- with :
359
- node-version : ' 12.x'
360
- - run : .github/scripts/update-website.sh
361
- if : env.SHOULD_PUBLISH == 'true'
362
- env :
363
- GIT_USER : Virtuslab
364
- DEPLOYMENT_BRANCH : gh-pages
365
- GIT_PASS : ${{ secrets.GITHUB_TOKEN }}
366
-
367
- # same as website-nightly above, but for the 'needs' and 'if' fields
368
- website-release :
369
- needs : [jvm-tests, format, checks, reference-doc, update-packages]
370
- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
371
- runs-on : ubuntu-latest
372
- steps :
373
- - uses : actions/checkout@v2
374
- with :
375
- fetch-depth : 0
376
- submodules : true
377
- -
uses :
coursier/[email protected]
378
- -
uses :
coursier/[email protected]
379
- with :
380
- jvm : 11
381
-
382
- with :
383
- node-version : ' 12.x'
384
- - run : .github/scripts/update-website.sh
385
- env :
386
- GIT_USER : Virtuslab
387
- DEPLOYMENT_BRANCH : gh-pages
388
- GIT_PASS : ${{ secrets.GITHUB_TOKEN }}
0 commit comments