Skip to content

Commit

Permalink
Update edge version to cdn on merge (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k authored Sep 27, 2023
1 parent be1e86b commit de2548f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
mkdir -p target/${{ github.sha }}
cp -r build/* target/${{ github.sha }}
- name: Publish to CDN
- name: Publish the new version to the CDN
uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.FIX_UI_DO_SPACES_KEY }}
Expand All @@ -32,6 +32,16 @@ jobs:
out_dir: fix-ui
source: target

- name: Update the edge version to the CDN
uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.FIX_UI_DO_SPACES_KEY }}
secret_key: ${{ secrets.FIX_UI_DO_SPACES_SECRET }}
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 }}

- name: Create a patch with the new version
# writes the file with a config map definition
run: |
Expand Down

0 comments on commit de2548f

Please sign in to comment.