Skip to content

Commit e1cc0e9

Browse files
committed
chore: update actions and vercel-version
Fix "Error: Your Vercel CLI version is outdated. This endpoint requires version 47.2.2 or later."
1 parent 18ce6f3 commit e1cc0e9

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/deploy-preview.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
ref: ${{ github.event.pull_request.head.sha }}
3737

3838
- name: Set up Python
39-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
39+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4040
with:
4141
python-version: "3.10"
4242

4343
- name: Setup Node
44-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
44+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
4545
with:
4646
node-version: "18"
4747

@@ -66,10 +66,10 @@ jobs:
6666
run: npx hugo --buildDrafts --buildFuture --logLevel info
6767

6868
- name: Deploy
69-
uses: amondnet/vercel-action@888da851026e0573da056b061931bcb765a915c4 # v41.1.4
69+
uses: amondnet/vercel-action@4b810e26f7bb2a331c698af186f890cbf20d5f72 # v42.2.0
7070
id: vercel-action
7171
with:
72-
vercel-version: 41.1.4
72+
vercel-version: 48.12.1
7373
vercel-token: ${{ secrets.VERCEL_TOKEN }}
7474
github-token: ${{ secrets.GITHUB_TOKEN }}
7575
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}

.github/workflows/deploy-production.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
persist-credentials: false
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
28+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: "3.10"
3131

3232
- name: Setup Node
33-
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
33+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3434
with:
3535
node-version: "18"
3636

@@ -41,7 +41,7 @@ jobs:
4141
# removes the vendor directory that is created by "bundle install"
4242
# https://github.com/fenneclab/hugo-bin/blob/a5500e4f622f46886947d3438243bd97cfe6c04c/lib/install.js#L28-L30
4343
- name: Setup Ruby
44-
uses: ruby/setup-ruby@708024e6c902387ab41de36e1669e43b5ee7085e # v1.283.0
44+
uses: ruby/setup-ruby@7372622e62b60b3cb750dcd2b9e32c247ffec26a # v1.302.0
4545
with:
4646
ruby-version: "3.2"
4747
bundler-cache: true
@@ -75,10 +75,10 @@ jobs:
7575
npm run algolia
7676
7777
- name: Deploy
78-
uses: amondnet/vercel-action@888da851026e0573da056b061931bcb765a915c4 # v41.1.4
78+
uses: amondnet/vercel-action@4b810e26f7bb2a331c698af186f890cbf20d5f72 # v42.2.0
7979
id: vercel-action
8080
with:
81-
vercel-version: 41.1.4
81+
vercel-version: 48.12.1
8282
vercel-token: ${{ secrets.VERCEL_TOKEN }}
8383
github-token: ${{ secrets.GITHUB_TOKEN }}
8484
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}

0 commit comments

Comments
 (0)