Skip to content

Merge pull request #32 from melix/cc/bump-jgit #26

Merge pull request #32 from melix/cc/bump-jgit

Merge pull request #32 from melix/cc/bump-jgit #26

Workflow file for this run

name: Publish documentation
on:
push:
branches:
- main
jobs:
generate_documentation:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
ssh-key: "${{ secrets.SSH_PRIVATE_KEY }}"
- name: Setup git
env:
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
SSH_PRIVATE_KEY: "${{ secrets.SSH_PRIVATE_KEY }}"
run: |
mkdir -p ~/.ssh
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
chmod 700 -R ~/.ssh
eval "$(ssh-agent -s)"
ssh-add
ssh [email protected] || true
git config --global user.name 'GitHub bot'
git config --global user.email '[email protected]'
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: gradle/gradle-build-action@v2
with:
arguments: :docs:gitPublishPush