Publish website #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish website | |
on: | |
workflow_dispatch: {} | |
jobs: | |
publish: | |
name: Publish website | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: zulu | |
java-version: 14 | |
- uses: ruby/[email protected] | |
with: | |
bundler-cache: true | |
- name: Install microsite deps | |
run: | | |
bundle install --jobs 4 --retry 3 --system | |
- name: Print versions | |
run: | | |
java -version | |
gpg --version | |
ruby --version | |
bundle exec jekyll --version | |
- name: Update website | |
env: | |
MICROSITE_PUBLISH_TOKEN: ${{ secrets.MICROSITE_PUBLISH_TOKEN }} | |
run: bundle exec sbt microsite/makeMicrosite microsite/publishMicrosite |