Skip to content

Merge pull request #248 from scalameta/update/sbt-ci-release-1.9.0 #11

Merge pull request #248 from scalameta/update/sbt-ci-release-1.9.0

Merge pull request #248 from scalameta/update/sbt-ci-release-1.9.0 #11

name: Release website
on:
push:
branches: [main]
tags: ["*"]
concurrency:
group: release-${{ github.ref }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- name: Publish
run: |
sbt docs/docusaurusPublishGhpages
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}