Skip to content

Updated to a token which has access to workflows #95

Updated to a token which has access to workflows

Updated to a token which has access to workflows #95

name: Generate and submit documentation
on:
push:
branches:
- fix/generate-documentation-workflow
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: 'fix/generate-documentation-workflow'
github_token: ${{ secrets.GITHUB_TOKEN }}
message: "Update documentation"
- name: Update develop branch
uses: morbalint/git-merge-action@v1
with:
target: 'fix/generate-documentation-workflow-test-merge'
source: 'fix/generate-documentation-workflow'
strategy_options: 'ours'
token: ${{ secrets.WORKFLOW_TOKEN }}