Skip to content

mq/regeln: clarify winner primarily based on reaching goal #148

mq/regeln: clarify winner primarily based on reaching goal

mq/regeln: clarify winner primarily based on reaching goal #148

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Hyperbook
run: |
cd hyperbook
npx hyperbook setup
- name: Build documentation
id: build
run: |
cd hyperbook
npx hyperbook build
echo "::set-output name=message::$(git log --format='Deploy %h %<|(50,trunc)%f' -1)"
- name: Push generated documentation to live branch
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.PUSH_TOKEN }}
publish_branch: live
publish_dir: hyperbook/.hyperbook/out
user_name: "GitHub Publish Action"
user_email: info@software-challenge.de
full_commit_message: ${{steps.build.outputs.message}}