Skip to content

Commit

Permalink
Ab#54745 fix catalog build for anyca-plugin (#80)
Browse files Browse the repository at this point in the history
* Rebuild catalog on push to main
  • Loading branch information
fiddlermikey authored Mar 8, 2024
1 parent b1d7915 commit be60482
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/assign-env-from-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
input-property: 'about.orchestrator.keyfactor_platform_version'

- name: Read release_dir property
if: steps.read-type.outputs.output-value == 'orchestrator' || steps.read-type.outputs.output-value == 'ca-gateway' || steps.read-type.outputs.output-value == 'pam'
if: steps.read-type.outputs.output-value == 'orchestrator' || steps.read-type.outputs.output-value == 'ca-gateway' || steps.read-type.outputs.output-value == 'pam' || steps.read-type.outputs.output-value == 'anyca-plugin'
uses: ./tools
id: read-release_dir
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/starter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,11 @@ jobs:
token: ${{ secrets.APPROVE_README_PUSH }}

call-update-catalog-workflow:
if: inputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
needs: call-assign-from-json-workflow
if: ${{ needs.call-assign-from-json-workflow.outputs.update_catalog }} == 'true' && github.ref_name == 'main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@v2
secrets:
token: ${{ secrets.SDK_SYNC_PAT }}
token: ${{ secrets.token }}

call-repository-configuration-workflow:
if: github.event_name == 'create' && startsWith(github.ref, 'refs/heads/release-')
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/update-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout project repo
uses: actions/checkout@v4

- uses: actions/checkout@v4
- name: Checkout catalog repo
uses: actions/checkout@v4
with:
token: ${{ secrets.token }}
path: './catalog-temp/'
repository: 'Keyfactor/integrations-catalog'
repository: 'Keyfactor/integrations-catalog' # Change back to integrations-catalog after testing

- uses: Keyfactor/[email protected]
with:
Expand Down

0 comments on commit be60482

Please sign in to comment.