Skip to content

Commit

Permalink
embed: fix deploy (#123)
Browse files Browse the repository at this point in the history
* components: add `v` in DEST_DIR path

* embed: fix SOURCE_DIR for deploys

* embed: bump version in package.json
  • Loading branch information
tamssokari authored Nov 3, 2023
1 parent 974ecba commit e947864
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
env:
TAG: ${{ steps.package-version.outputs.current-version }}
run: |
echo "DEST_DIR_COMPONENTS=js/$TAG" >> $GITHUB_OUTPUT
echo "DEST_DIR_COMPONENTS=js/v$TAG" >> $GITHUB_OUTPUT
- name: deploy to s3 / cloudfront
uses: jakejarvis/[email protected]
with:
Expand Down Expand Up @@ -66,5 +66,5 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
SOURCE_DIR: "./dist"
SOURCE_DIR: "./packages/embed/dist"
DEST_DIR: "inline/v1"
2 changes: 1 addition & 1 deletion packages/embed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smile_identity/web-page",
"version": "v1.2.2",
"version": "v1.2.3",
"description": "Self Hosted Integration for Smile Identity on the Web",
"private": true,
"main": "inline.js",
Expand Down

0 comments on commit e947864

Please sign in to comment.