Skip to content

Commit 13aa0c2

Browse files
authored
Revert "refactor(build-next-js-app): remove fa-token input and inherit through env vars (#5)" (#6)
This reverts commit cde2411.
1 parent cde2411 commit 13aa0c2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

build-nextjs-app/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ This action builds and exports a Next.js app
88

99
Node.js version
1010

11+
## `fa-token`
12+
13+
FontAwesome NPM Auth Token
14+
1115
## `export`
1216

1317
Whether to export the app or not

build-nextjs-app/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ inputs:
66
description: 'Node.js version'
77
required: false
88
default: 18
9+
fa-token:
10+
description: 'FontAwesome NPM Auth Token (optional)'
11+
required: false
12+
default: ''
913
export:
1014
description: 'Whether to export the app as a static site or not'
1115
required: false
@@ -22,6 +26,8 @@ runs:
2226

2327
- name: Install dependencies
2428
shell: bash
29+
env:
30+
FONTAWESOME_NPM_AUTH_TOKEN: ${{ inputs.fa-token }}
2531
run: npm ci
2632

2733
- name: Cache

0 commit comments

Comments
 (0)