Skip to content

adding config.json for this demo #80

adding config.json for this demo

adding config.json for this demo #80

name: Generate Catalog Entry
on: [push, workflow_dispatch]
jobs:
generate_entry:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
token: ${{ secrets.SDK_SYNC_PAT }}
path: './catalog-temp/'
repository: 'Keyfactor/integrations-catalog'
- uses: cuchi/[email protected]
with:
template: ./catalog-temp/_integration.md.tpl
output_file: ${{ format('./catalog-temp/_integrations/{0}.md', github.event.repository.name) }}
data_file: integration-manifest.json
variables: |
repository= ${{ format('https://github.com/{0}', github.repository) }}
env:
GITHUB_TOKEN: ${{ secrets.SDK_SYNC_PAT }}
- uses: EndBug/add-and-commit@v7
with:
author_name: 'Keyfactor'
author_email: '[email protected]'
branch: 'main'
message: ${{ format('Added the manifest for {0}', github.event.repository.name) }}
add: ${{ format('_integrations/{0}.md --force', github.event.repository.name) }}
cwd: './catalog-temp/'