From 8404486baf7b3b42e5b4e8075c3794c0ec2d41c3 Mon Sep 17 00:00:00 2001 From: Nikita Melkozerov Date: Wed, 27 Sep 2023 15:55:12 +0200 Subject: [PATCH] Only upload index.html to edge (#9) --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 252ce3e4..2427d8e7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,7 @@ jobs: out_dir: fix-ui source: target - - name: Update the edge version to the CDN + - name: Update the edge version on the CDN uses: BetaHuhn/do-spaces-action@v2 with: access_key: ${{ secrets.FIX_UI_DO_SPACES_KEY }} @@ -40,7 +40,7 @@ jobs: space_name: ${{ secrets.FIX_UI_DO_SPACE_NAME }} space_region: ${{ secrets.FIX_UI_DO_SPACE_REGION }} out_dir: fix-ui/edge - source: target/${{ github.sha }} + source: target/${{ github.sha }}/index.html - name: Create a patch with the new version # writes the file with a config map definition