Skip to content

v0.33.3

v0.33.3 #140

Workflow file for this run

# Don't edit this file!
# It is automatically updated after every release of https://github.com/47degrees/.github
# If you want to suggest a change, please open a PR or issue in that repository
name: Update documentation
on:
release:
types: [published]
repository_dispatch:
types: [docs]
workflow_dispatch:
jobs:
documentation:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
ref: main
- name: Fetch tags
run: git fetch --tags
- name: Setup Scala
uses: olafurpg/setup-scala@v11
with:
java-version: [email protected]
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Setup faraday
run: |
gem install faraday -v 2.8.1
gem install faraday-net_http -v 3.0.2
- name: Setup github-changelog-generator
run: gem install github_changelog_generator -v 1.15.0
- name: Setup yq
run: sudo snap install yq
- name: Run pre-conditions
run: test -f .github/actions.yml && eval "$(yq e '.pre.docs // "true"' .github/actions.yml)" || true
- name: Generate documentation
run: sbt ci-docs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOWNLOAD_INFO_FROM_GITHUB: true
- name: Run post-conditions
run: test -f .github/actions.yml && eval "$(yq e '.post.docs // "true"' .github/actions.yml)" || true
- name: Push changes
uses: stefanzweifel/[email protected]
with:
commit_message: 'Update documentation, and other files [skip ci]'