@@ -587,53 +587,6 @@ jobs:
587587 asset_name : sha256sum.txt
588588 asset_content_type : text/plain
589589
590- release_documentation :
591- runs-on : [self-hosted, Linux]
592- container :
593- image : lampepfl/dotty:2021-03-22
594- options : --cpu-shares 4096
595- volumes :
596- - ${{ github.workspace }}/../../cache/sbt:/root/.sbt
597- - ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
598- - ${{ github.workspace }}/../../cache/general:/root/.cache
599- needs : [publish_release]
600- if : " github.event_name == 'push'
601- && startsWith(github.event.ref, 'refs/tags/')"
602-
603- env :
604- RELEASEBUILD : yes
605- BOT_TOKEN : ${{ secrets.BOT_TOKEN }} # If you need to change this:
606- # Generate one at https://github.com/settings/tokens
607- # Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
608-
609- steps :
610- - name : Reset existing repo
611- run : git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
612-
613- - name : Checkout cleanup script
614- uses : actions/checkout@v2
615-
616- - name : Cleanup
617- run : .github/workflows/cleanup.sh
618-
619- - name : Git Checkout
620- uses : actions/checkout@v2
621-
622- - name : Add SBT proxy repositories
623- run : cp -vf .github/workflows/repositories /root/.sbt/ ; true
624-
625- - name : Generate Website
626- run : |
627- ./project/scripts/genDocs -doc-snapshot
628-
629- - name : Deploy Website
630- uses : peaceiris/actions-gh-pages@v3
631- with :
632- personal_token : ${{ secrets.BOT_TOKEN }}
633- publish_dir : docs/_site
634- external_repository : lampepfl/dotty-website
635- publish_branch : gh-pages
636-
637590 open_issue_on_failure :
638591 runs-on : [self-hosted, Linux]
639592 container :
0 commit comments