Skip to content

Commit 6e852d2

Browse files
authored
Update workflow to push to scala/dotty.epfl.ch instead of lampepfl/dotty-website (#21602)
Reflect the transfer of the `lampepfl/dotty-website` to `scala/dotty.epfl.ch`
2 parents ad8c21a + a795ca4 commit 6e852d2

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

Diff for: .github/workflows/ci.yaml

+3-11
Original file line numberDiff line numberDiff line change
@@ -687,14 +687,6 @@ jobs:
687687
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3'"
688688
env:
689689
NIGHTLYBUILD: yes
690-
DOTTY_WEBSITE_BOT_TOKEN: ${{ secrets.BOT_TOKEN }} # If you need to change this:
691-
# Generate one at https://github.com/settings/tokens
692-
# Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
693-
# Currently unused token, no need to deploy anything to docs.scala-lang
694-
# DOCS_SCALALANG_BOT_TOKEN: ${{ secrets.DOCS_SCALALANG_BOT_TOKEN }} # If you need to change this:
695-
# Generate one at https://github.com/settings/tokens
696-
# Make sure you have the write permissions to the repo: https://github.com/scala/docs.scala-lang
697-
698690
steps:
699691
- name: Reset existing repo
700692
run: |
@@ -721,10 +713,10 @@ jobs:
721713
- name: Deploy Website to dotty-website
722714
uses: peaceiris/actions-gh-pages@v4
723715
with:
724-
personal_token: ${{ env.DOTTY_WEBSITE_BOT_TOKEN }}
716+
personal_token: ${{ secrets.DOTTYBOT_TOKEN }}
725717
publish_dir: docs/_site
726-
external_repository: lampepfl/dotty-website
727-
publish_branch: gh-pages
718+
external_repository: scala/dotty.epfl.ch
719+
publish_branch: main
728720

729721
publish_release:
730722
permissions:

0 commit comments

Comments
 (0)