Skip to content

Commit

Permalink
ci: Added workflow to update docs repository
Browse files Browse the repository at this point in the history
On any updated to api wiki pages it will trigger Update Sobmodule workflow in the docs repository which will update the api-docs submodule refference
  • Loading branch information
mike-pisman committed Oct 5, 2023
1 parent f034f9a commit 41349d1
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Update docs

on:
workflow_dispatch:
gollum:

jobs:
docs:
runs-on: arc-runner-k8s
permissions: write-all
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PEM }}
owner: ${{ github.repository_owner }}
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ steps.generate_token.outputs.token }}
repository: unipoll/docs
event-type: update_submodules

0 comments on commit 41349d1

Please sign in to comment.