Skip to content

Commit ffd8b6a

Browse files
Fix #8831: Remove release_documentation CI task
Since stable releases lag behind nightlies, this task in practice overrides the latest docs published to the website by nightly releases.
1 parent 83e17f1 commit ffd8b6a

File tree

1 file changed

+0
-47
lines changed

1 file changed

+0
-47
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)