Skip to content

Commit 97d9115

Browse files
Marcosldclaude
andauthored
fix(ci): update vercel-action to main branch (#1533)
## Summary - Updates `amondnet/vercel-action` from pinned `v41.1.4` to `main` branch in both deploy workflows - The pin was originally due to v42 failing with "Error: Provided path ./ is not absolute", which is resolved in this PR - Deployments now use API --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 61c0345 commit 97d9115

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/deploy-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
with:
2020
persist-credentials: false
2121

22-
- uses: amondnet/vercel-action@v41.1.4 # Pinned because v42 fails with "Error: Provided path ./ is not absolute"
22+
- uses: amondnet/vercel-action@master
2323
with:
2424
github-token: ${{ secrets.GITHUB_TOKEN }} # needed to allow comments on prs
2525
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
2626
vercel-org-id: ${{ secrets.MISTICA_WEB_VERCEL_ORG_ID}} #Required
2727
vercel-project-id: ${{ secrets.MISTICA_WEB_VERCEL_PROJECT_ID}} #Required
2828
vercel-project-name: mistica-web # Not requried by the docs, but the action fails if not specified. See https://github.com/amondnet/vercel-action/issues/30#issuecomment-678608424
2929
vercel-args: '--prod'
30-
working-directory: ./
30+
working-directory: ${{ github.workspace }}

.github/workflows/deploy-pull-requests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
- run: sed -i 's/yarn vercel-build/yarn vercel-preview-build/' vercel.json
2525
shell: bash
2626

27-
- uses: amondnet/vercel-action@v41.1.4 # Pinned because v42 fails with "Error: Provided path ./ is not absolute"
27+
- uses: amondnet/vercel-action@master
2828
id: vercel-deploy # identifier to reference this step
2929
with:
3030
github-token: ${{ secrets.GITHUB_TOKEN }} # needed to allow comments on prs
3131
vercel-token: ${{ secrets.VERCEL_TOKEN }} # required
3232
vercel-org-id: ${{ secrets.MISTICA_WEB_VERCEL_ORG_ID}} # required
3333
vercel-project-id: ${{ secrets.MISTICA_WEB_VERCEL_PROJECT_ID}} # required
3434
vercel-project-name: mistica-web # not required by the docs, but the action fails if not specified. See https://github.com/amondnet/vercel-action/issues/30#issuecomment-678608424
35-
working-directory: ./
35+
working-directory: ${{ github.workspace }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ community.d.ts
3131
# SonarQube scan
3232
.scannerwork
3333
*storybook.log
34+
.env*.local

.storybook/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const config: StorybookConfig = {
6767
},
6868

6969
core: {
70+
allowedHosts: ['host.docker.internal'],
7071
disableWhatsNewNotifications: true,
7172
builder: {
7273
name: '@storybook/builder-vite',

0 commit comments

Comments
 (0)