mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05: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:
|
env:
|
||||||
NETLIFY_VERSION: 13.2.2
|
NETLIFY_VERSION: 13.2.2
|
||||||
|
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
|
||||||
NODEJS_VERSION: 18
|
NODEJS_VERSION: 18
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
|
@ -56,7 +57,7 @@ jobs:
|
||||||
run: rm -r .next/cache
|
run: rm -r .next/cache
|
||||||
|
|
||||||
- name: Install netlify CLI
|
- 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
|
- name: Run netlify CLI deployment
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -28,6 +28,7 @@ permissions:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NETLIFY_VERSION: 13.2.2
|
NETLIFY_VERSION: 13.2.2
|
||||||
|
NETLIFY_NEXTJS_PLUGIN_VERSION: 4.33.0
|
||||||
NODEJS_VERSION: 18
|
NODEJS_VERSION: 18
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
|
@ -89,7 +90,7 @@ jobs:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
|
||||||
- name: Install netlify CLI
|
- 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
|
- name: Run netlify CLI
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -90,6 +90,17 @@
|
||||||
"datasourceTemplate": "npm",
|
"datasourceTemplate": "npm",
|
||||||
"depNameTemplate": "netlify-cli"
|
"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": [
|
"fileMatch": [
|
||||||
".github/workflows/deploy-main.yml$",
|
".github/workflows/deploy-main.yml$",
|
||||||
|
|
Loading…
Reference in a new issue