Skip to content

chore: repository cleanup (#98) #17

chore: repository cleanup (#98)

chore: repository cleanup (#98) #17

Workflow file for this run

name: Publish
on:
push:
branches:
- main
permissions:
contents: read
jobs:
publish:
name: Publish site to Gustav
runs-on: ubuntu-22.04
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK 17
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.17
- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d
- name: "Create site with Paradox"
env:
GUSTAV_KEY: ${{ secrets.GUSTAV_KEY }}
run: |
eval "$(ssh-agent -s)"
echo $GUSTAV_KEY | base64 -d > /tmp/id_rsa
chmod 600 /tmp/id_rsa
ssh-add /tmp/id_rsa
cd docs
sbt publishRsync