From 77e95e7103aac17f1552081a02e504aca5bd1d98 Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Wed, 15 Nov 2023 16:15:28 +0100 Subject: [PATCH] Publish docs in release workflow (#72) --- .github/workflows/release.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ab8769e..7c6e157 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,11 +56,14 @@ jobs: - name: Set up JDK 17 uses: coursier/setup-action@v1.3.0 with: - jvm: temurin:1.17.0.5 - apps: cs + jvm: temurin:1.17.0 - - name: sbt site - run: sbt docs/makeSite - - - name: Run Link Validator - run: cs launch net.runne::site-link-validator:0.2.3 -- scripts/link-validator.conf + - name: Publish + run: |- + eval "$(ssh-agent -s)" + echo $AKKA_RSYNC_GUSTAV | base64 -d > .github/id_rsa + chmod 600 .github/id_rsa + ssh-add .github/id_rsa + sbt publishRsync + env: + AKKA_RSYNC_GUSTAV: ${{ secrets.AKKA_RSYNC_GUSTAV }}