[CID-1867] Registering webhooks on boot (Create new, then delete old … #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish documentation and generated SBOM | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
env: | |
README_DOCS_VERSION: '1.1.0' | |
jobs: | |
post-deploy: | |
name: Post Deployment | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: LeanIX Secrets 🔒 | |
uses: leanix/secrets-action@master | |
with: | |
secret-store-credentials: ${{ secrets.INJECTED_SECRET_STORE_CREDENTIALS }} | |
- name: Set up JDK temurin 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Run gradlew cyclonedxBom task | |
uses: gradle/gradle-build-action@v2 | |
with: | |
build-root-directory: . | |
arguments: cyclonedxBom | |
- name: VSM discovery | |
uses: leanix/vsm-discovery-github-action@v1.0.0 | |
with: | |
api-token: ${{ env.VSM_LEANIX_API_TOKEN }} | |
- name: Sync gitlab-enterprise-connector.md docs | |
uses: readmeio/rdme@7.3.0 | |
if: github.ref=='refs/heads/main' | |
continue-on-error: true | |
with: | |
rdme: docs ./docs --key=${{ secrets.README_DEVELOPERS_API_KEY }} --version=${{ env.README_DOCS_VERSION }} |