Skip to content

add doc reference to GHA #30

add doc reference to GHA

add doc reference to GHA #30

Workflow file for this run

name: Upload Files to Mainbot
on:
workflow_dispatch: {} # Manually trigger the workflow
push:
branches:
- main
paths:
- 'docs/**'
- 'README.md'
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Upload Files
uses: savantly-net/mainbot-github-action@main
with:
glob-patterns: '*.md' # Set your file pattern here
namespace: '/mainbot-documents'
api-url: 'https://backstage-mainbot.savantly.apps.savantly.cloud'
client-id: ${{ secrets.MAINBOT_CLIENT_ID }}
client-secret: ${{ secrets.MAINBOT_CLIENT_SECRET }}
token-endpoint: https://oidc.apps.savantly.cloud/realms/savantly/protocol/openid-connect/token