Skip to content

Merge pull request #263 from Crypto-TII/develop #104

Merge pull request #263 from Crypto-TII/develop

Merge pull request #263 from Crypto-TII/develop #104

name: Generate and submit documentation
on:
push:
branches:
- main
permissions: write-all
jobs:
generate-documentation:
runs-on: self-hosted-k3s
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Generate documentation
run: make doc
- name: Commit & Push changes
uses: actions-js/push@master
with:
branch: 'main'
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "Update documentation"
- name: Update develop branch
uses: morbalint/git-merge-action@v1
with:
target: 'develop'
source: 'main'
strategy_options: 'ours'
token: ${{ secrets.WORKFLOW_TOKEN }}