From fe96c4a4551d9a9a3dbf743432a5f5fa42ad73a9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 4 Jul 2023 20:25:51 +0100 Subject: [PATCH] Update the livekit branch name in more places Fixes the CI to get the config from the right place. Also removes reference to an env that's already been deleted. --- .github/workflows/netlify-livekit.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/netlify-livekit.yaml b/.github/workflows/netlify-livekit.yaml index f4463f9..3f66637 100644 --- a/.github/workflows/netlify-livekit.yaml +++ b/.github/workflows/netlify-livekit.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest permissions: deployments: write - # Important: the 'branches' filter above will match the 'livekit-experiment' branch on forks, + # Important: the 'branches' filter above will match the 'livekit' branch on forks, # so we need to check the head repo too in order to not run on PRs from forks # We check the branch name again too just for completeness # (Is there a nicer way to see if a PR is from a fork?) @@ -24,7 +24,6 @@ jobs: with: step: start token: ${{ secrets.GITHUB_TOKEN }} - env: livekit-experiment-branch-cd ref: ${{ github.event.workflow_run.head_sha }} - name: "Download artifact" @@ -53,10 +52,10 @@ jobs: - name: Add redirects file # We fetch from github directly as we don't bother checking out the repo - run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit-experiment/config/netlify_redirects > dist/_redirects + run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit/config/netlify_redirects > dist/_redirects - name: Add config file - run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit-experiment/config/element_io_preview.json > dist/config.json + run: curl -s https://raw.githubusercontent.com/vector-im/element-call/livekit/config/element_io_preview.json > dist/config.json - name: Deploy to Netlify id: netlify