Skip to content

Commit 4b30cd1

Browse files
authored
Revert "Fix workflow triggers for docs updates" (#1479)
1 parent 6ef65f1 commit 4b30cd1

File tree

3 files changed

+3
-34
lines changed

3 files changed

+3
-34
lines changed

.github/workflows/releaser-helm-charts.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ jobs:
1111
packages: write
1212
id-token: write
1313

14-
outputs:
15-
chart_version: ${{ steps.chart-releaser.outputs.chart_version }}
16-
1714
steps:
1815
- name: Checkout
1916
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@ -26,7 +23,6 @@ jobs:
2623
git config user.email "[email protected]"
2724
2825
- name: Run chart-releaser
29-
id: chart-releaser
3026
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
3127
with:
3228
config: cr.yaml
@@ -56,13 +52,3 @@ jobs:
5652
done
5753
env:
5854
COSIGN_EXPERIMENTAL: 1
59-
60-
update-docs-website:
61-
name: Trigger Docs Update
62-
needs: [ release ]
63-
permissions: {}
64-
uses: ./.github/workflows/update-docs-website.yml
65-
with:
66-
version: ${{ needs.release.outputs.chart_version }}
67-
secrets:
68-
DOCS_REPO_DISPATCH_TOKEN: ${{ secrets.DOCS_REPO_DISPATCH_TOKEN }}

.github/workflows/releaser.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,6 @@ jobs:
114114
id-token: write
115115
uses: ./.github/workflows/image-build-and-publish.yml
116116

117-
update-docs-website:
118-
name: Trigger Docs Update
119-
needs: [ release ]
120-
permissions: {}
121-
uses: ./.github/workflows/update-docs-website.yml
122-
with:
123-
version: ${{ github.ref_name }}
124-
secrets:
125-
DOCS_REPO_DISPATCH_TOKEN: ${{ secrets.DOCS_REPO_DISPATCH_TOKEN }}
126-
127117
# provenance:
128118
# name: Generate provenance (SLSA3)
129119
# needs:

.github/workflows/update-docs-website.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,8 @@ name: Trigger Docs Update
33
permissions: {}
44

55
on:
6-
workflow_call:
7-
inputs:
8-
version:
9-
description: 'Version tag for the release'
10-
required: true
11-
type: string
12-
secrets:
13-
DOCS_REPO_DISPATCH_TOKEN:
14-
required: true
6+
release:
7+
types: [published]
158

169
jobs:
1710
trigger:
@@ -22,7 +15,7 @@ jobs:
2215
run: |
2316
repo="stacklok/docs-website"
2417
event_type="published-release"
25-
version="${{ inputs.version }}"
18+
version="${{ github.event.release.tag_name }}"
2619
2720
echo "Triggering docs update for $repo with version $version"
2821

0 commit comments

Comments
 (0)