Skip to content

Merge pull request #841 from scalameta/update/sbt-ci-release-1.7.0 #81

Merge pull request #841 from scalameta/update/sbt-ci-release-1.7.0

Merge pull request #841 from scalameta/update/sbt-ci-release-1.7.0 #81

name: Release website
on:
push:
branches: [main]
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
cache: sbt
- run: git fetch --unshallow
- name: Publish website for ${{ github.ref }}
run: |
sbt docs/docusaurusPublishGhpages
env:
GIT_USER: [email protected]
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}