-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (39 loc) · 1.21 KB
/
publish-docs-and-sbom.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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 }}