mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 00:22:14 +00:00
fix: install netlify nextjs plugin manually
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
3e0874dfb0
commit
391559bec4
3 changed files with 15 additions and 2 deletions
|
@ -10,6 +10,7 @@ on:
|
|||
|
||||
env:
|
||||
NETLIFY_VERSION: 13.2.2
|
||||
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
|
||||
NODEJS_VERSION: 18
|
||||
|
||||
defaults:
|
||||
|
@ -56,7 +57,7 @@ jobs:
|
|||
run: rm -r .next/cache
|
||||
|
||||
- name: Install netlify CLI
|
||||
run: "npm install -g netlify-cli@${{ env.NETLIFY_VERSION }}"
|
||||
run: "yarn add --dev netlify-cli@${{ env.NETLIFY_VERSION }} @netlify/plugin-nextjs@${{ env.NETLIFY_NEXTJS_PLUGIN_VERSION }}"
|
||||
|
||||
- name: Run netlify CLI deployment
|
||||
env:
|
||||
|
|
|
@ -28,6 +28,7 @@ permissions:
|
|||
|
||||
env:
|
||||
NETLIFY_VERSION: 13.2.2
|
||||
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
|
||||
NODEJS_VERSION: 18
|
||||
|
||||
defaults:
|
||||
|
@ -89,7 +90,7 @@ jobs:
|
|||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Install netlify CLI
|
||||
run: "npm install -g netlify-cli@${{ env.NETLIFY_VERSION }}"
|
||||
run: "yarn add --dev netlify-cli@${{ env.NETLIFY_VERSION }} @netlify/plugin-nextjs@${{ env.NETLIFY_NEXTJS_PLUGIN_VERSION }}"
|
||||
|
||||
- name: Run netlify CLI
|
||||
env:
|
||||
|
|
|
@ -90,6 +90,17 @@
|
|||
"datasourceTemplate": "npm",
|
||||
"depNameTemplate": "netlify-cli"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
".github/workflows/frontend-netlify-deploy-main.yml$",
|
||||
".github/workflows/frontend-netlify-deploy-pr.yml$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"NETLIFY_NEXTJS_PLUGIN_VERSION=(?<currentValue>.*?)\\n"
|
||||
],
|
||||
"datasourceTemplate": "npm",
|
||||
"depNameTemplate": "@netlify/plugin-nextjs"
|
||||
},
|
||||
{
|
||||
"fileMatch": [
|
||||
".github/workflows/deploy-main.yml$",
|
||||
|
|
Loading…
Reference in a new issue