You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: action.yml
+33-22Lines changed: 33 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
name: 'nsite Action'
1
+
name: 'nsyte action'
2
2
description: 'Deploys static website files to Blossom/Nostr using the nsyte CLI.'
3
3
author: 'nsite-action Developers'
4
4
@@ -11,32 +11,32 @@ inputs:
11
11
description: 'The nbunksec string for authentication via NIP-46 bunker. Store this as a GitHub Secret.'
12
12
required: true
13
13
directory:
14
-
description: 'The directory containing the static files to upload.'
14
+
description: 'The directory containing the static files to deploy.'
15
15
required: true
16
16
relays:
17
17
description: 'YAML array of Nostr relay WebSocket URIs to publish the site event to. Example: ["wss://relay1.example.com", "wss://relay2.example.com"]'
18
18
required: true
19
19
servers:
20
-
description: 'YAML array of Blossom server WebSocket URIs to upload files to. Example: ["wss://server1.example.com", "wss://server2.example.com"]'
20
+
description: 'YAML array of Blossom server WebSocket URIs to deploy files to. Example: ["wss://server1.example.com", "wss://server2.example.com"]'
21
21
required: true
22
22
force:
23
-
description: 'Corresponds to the --force flag in nsyte upload. Re-upload all files.'
23
+
description: 'Corresponds to the --force flag in nsyte deploy. Re-deploy all files.'
24
24
required: false
25
25
default: 'false'
26
26
purge:
27
-
description: 'Corresponds to the --purge flag in nsyte upload. Delete remote files not present locally.'
27
+
description: 'Corresponds to the --purge flag in nsyte deploy. Delete remote files not present locally.'
28
28
required: false
29
29
default: 'false'
30
30
verbose:
31
-
description: 'Corresponds to the --verbose flag in nsyte upload. Show detailed output.'
31
+
description: 'Corresponds to the --verbose flag in nsyte deploy. Show detailed output.'
32
32
required: false
33
33
default: 'false'
34
34
concurrency:
35
-
description: 'Corresponds to the --concurrency flag in nsyte upload. Number of parallel uploads.'
35
+
description: 'Corresponds to the --concurrency flag in nsyte deploy. Number of parallel deploys.'
36
36
required: false
37
37
default: '4'
38
38
fallback:
39
-
description: 'Corresponds to the --fallback flag in nsyte upload. Path to the fallback HTML file (e.g., /index.html for SPAs).'
39
+
description: 'Corresponds to the --fallback flag in nsyte deploy. Path to the fallback HTML file (e.g., /index.html for SPAs).'
40
40
required: false
41
41
default: ''
42
42
publish_server_list:
@@ -54,7 +54,7 @@ inputs:
54
54
55
55
outputs:
56
56
status:
57
-
description: 'Status of the upload operation (e.g., "success").'
57
+
description: 'Status of the deploy operation (e.g., "success").'
58
58
nsyte_version_used:
59
59
description: 'The actual version of nsyte that was downloaded and used.'
60
60
@@ -149,8 +149,10 @@ runs:
149
149
if [[ "$NSYT_VERSION_FINAL" =~ ^v(.+)$ ]]; then VERSION_NUMBER="${BASH_REMATCH[1]}"; else VERSION_NUMBER="$NSYT_VERSION_FINAL"; fi
150
150
echo "Using nsyte tag: $NSYT_VERSION_FINAL (version number for asset: $VERSION_NUMBER)"
151
151
# Using ::set-output for version outputs as GITHUB_OUTPUT can be finicky in composite actions
0 commit comments