Skip to content

Commit

Permalink
Update workflow to push to scala/dotty.epfl.ch instead of `lampepfl…
Browse files Browse the repository at this point in the history
…/dotty-website` (scala#21602)

Reflect the transfer of the `lampepfl/dotty-website` to
`scala/dotty.epfl.ch`
  • Loading branch information
hamzaremmal authored Sep 17, 2024
2 parents ad8c21a + a795ca4 commit 6e852d2
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -687,14 +687,6 @@ jobs:
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3'"
env:
NIGHTLYBUILD: yes
DOTTY_WEBSITE_BOT_TOKEN: ${{ secrets.BOT_TOKEN }} # If you need to change this:
# Generate one at https://github.com/settings/tokens
# Make sure you have the write permissions to the repo: https://github.com/lampepfl/dotty-website
# Currently unused token, no need to deploy anything to docs.scala-lang
# DOCS_SCALALANG_BOT_TOKEN: ${{ secrets.DOCS_SCALALANG_BOT_TOKEN }} # If you need to change this:
# Generate one at https://github.com/settings/tokens
# Make sure you have the write permissions to the repo: https://github.com/scala/docs.scala-lang

steps:
- name: Reset existing repo
run: |
Expand All @@ -721,10 +713,10 @@ jobs:
- name: Deploy Website to dotty-website
uses: peaceiris/actions-gh-pages@v4
with:
personal_token: ${{ env.DOTTY_WEBSITE_BOT_TOKEN }}
personal_token: ${{ secrets.DOTTYBOT_TOKEN }}
publish_dir: docs/_site
external_repository: lampepfl/dotty-website
publish_branch: gh-pages
external_repository: scala/dotty.epfl.ch
publish_branch: main

publish_release:
permissions:
Expand Down

0 comments on commit 6e852d2

Please sign in to comment.