Skip to content

Commit e9d8e90

Browse files
committed
Pass secret to registry workflow
1 parent 1b1949e commit e9d8e90

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ jobs:
2020
registry-check:
2121
name: Registry Check
2222
uses: ./.github/workflows/esp_registry.yml
23-
with: { dry_run: true }
23+
with: { dry_run: true }
24+
secrets:
25+
ESP_REGISTRY_TOKEN: ${{ secrets.ESP_REGISTRY_TOKEN }}

.github/workflows/esp_registry.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
type: boolean
77
description: Do not actually upload the components
88
default: true
9+
secrets:
10+
ESP_REGISTRY_TOKEN:
11+
required: true
912
jobs:
1013
esp_registry:
1114
name: Upload Components
@@ -26,7 +29,6 @@ jobs:
2629
with:
2730
components: ${{ env.COMPONENTS }}
2831
namespace: livekit
29-
api_token: ${{ secrets.ESP_REGISTRY_TOKEN }}
3032
dry_run: true
3133
- name: Upload Components
3234
uses: espressif/upload-components-ci-action@v2

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
name: Registry Upload
99
uses: ./.github/workflows/esp_registry.yml
1010
with: { dry_run: false }
11+
secrets:
12+
ESP_REGISTRY_TOKEN: ${{ secrets.ESP_REGISTRY_TOKEN }}
1113
deploy-docs:
1214
name: Deploy Documentation
1315
uses: ./.github/workflows/docs.yml

0 commit comments

Comments
 (0)