Skip to content

Commit

Permalink
Fix Github CI/CD action to build and deploy samples (#4433)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Mar 21, 2024
1 parent 8996873 commit 4ef8359
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 10 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy.yml
Expand Up @@ -9,9 +9,6 @@ on:
deploy_path:
required: true
type: string
samples:
required: true
type: string
secrets:
host:
required: true
Expand Down Expand Up @@ -44,9 +41,7 @@ jobs:
include: "samples/dash-if-reference-player/index.html"
- name: Build all samples
run: |
sudo apt-get install -y jq
samples=$(echo ${{fromJson(inputs.samples)}} | jq -r '.[]')
for sample in $samples; do
for sample in "network-interceptor"; do
echo "Building sample: $sample"
cd samples/$sample
npm install
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_latest.yml
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
envname: latest
deploy_path: '/377335/dash.js'
samples: '["network-interceptor"]'
secrets:
host: ${{secrets.HOST}}
user: ${{secrets.USER}}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_nightly.yml
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
envname: nightly
deploy_path: '/377335/dash.js'
samples: '["network-interceptor"]'
secrets:
host: ${{secrets.HOST}}
user: ${{secrets.USER}}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_v4_latest.yml
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
envname: v4_latest
deploy_path: '/377335/dash.js'
samples: '[]'
secrets:
host: ${{secrets.HOST}}
user: ${{secrets.USER}}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_v4_nightly.yml
Expand Up @@ -12,7 +12,6 @@ jobs:
with:
envname: v4_nightly
deploy_path: '/377335/dash.js'
samples: '[]'
secrets:
host: ${{secrets.HOST}}
user: ${{secrets.USER}}
Expand Down

0 comments on commit 4ef8359

Please sign in to comment.