Skip to content

Commit e87a7b5

Browse files
committed
onboard s3 upload express
1 parent 38adefa commit e87a7b5

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Upload Assets
2+
3+
on:
4+
push:
5+
branches:
6+
- upload-to-s3
7+
8+
#on:
9+
# release:
10+
# types: [published]
11+
12+
jobs:
13+
trigger-workflow:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Trigger workflow in private repository
17+
env:
18+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
19+
TAG: ${{ github.ref_name }}
20+
ASSET: ${{ github.event.repository.name }}
21+
run: |
22+
curl -L \
23+
-X POST \
24+
-H "Accept: application/vnd.github+json" \
25+
-H "Authorization: Bearer $ACCESS_TOKEN" \
26+
https://api.github.com/repos/kaltura/ovp-statboy/actions/workflows/upload-assets-to-s3-express-recorder.yaml/dispatches \
27+
-d "{\"ref\":\"express-recorder\",\"inputs\":{\"tag\":\"$TAG\",\"asset\":\"$ASSET\"}}"

0 commit comments

Comments
 (0)