Skip to content

Commit 5dc9ed7

Browse files
update the action for publishing
1 parent 4d6a83a commit 5dc9ed7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/create/deploy-to-production.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,29 +88,29 @@ Follow these steps to deploy your private GitHub repository to Vercel:
8888
- name: Build
8989
uses: consensys/docs-gha/build@main
9090
with:
91-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91+
GITHUB_TOKEN: ${{ github.token }}
9292
- run: cp vercel.json ./build
93-
- uses: amondnet/vercel-action@v25.1.1
93+
- uses: amondnet/vercel-action@v41.1.4
9494
id: vercel-action-staging
9595
if: github.event_name == 'pull_request'
9696
with:
97-
github-token: ${{ secrets.GITHUB_TOKEN }}
97+
github-token: ${{ github.token }}
9898
vercel-token: ${{ secrets.VERCEL_TOKEN }}
9999
vercel-org-id: ${{ secrets.ORG_ID }}
100100
vercel-project-id: ${{ secrets.PROJECT_ID }}
101101
working-directory: ./build
102-
scope: infura-web
103-
- uses: amondnet/vercel-action@v25.1.1
102+
scope: consensys
103+
- uses: amondnet/vercel-action@v41.1.4
104104
id: vercel-action-production
105105
if: github.event_name == 'push'
106106
with:
107-
github-token: ${{ secrets.GITHUB_TOKEN }}
107+
github-token: ${{ github.token }}
108108
vercel-token: ${{ secrets.VERCEL_TOKEN }}
109109
vercel-org-id: ${{ secrets.ORG_ID }}
110110
vercel-project-id: ${{ secrets.PROJECT_ID }}
111111
working-directory: ./build
112112
vercel-args: "--prod "
113-
scope: infura-web
113+
scope: consensys
114114
github-comment: false
115115
```
116116

0 commit comments

Comments
 (0)