-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
28 lines (28 loc) · 1.23 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: 'Static Content Uploader for Azure Blobs'
description: 'A useful tool for uploading CRA artifacts to Az Blobs'
inputs:
clientId: # Should be a secret value, string
description: 'Entra App App Id'
required: true
clientSecret: # Should be a secret value, string
description: 'Entra App App Id'
required: true
tenantId: # Should be a secret value, with connection strings
description: 'Entra App Tenant Id'
required: true
storageAccountList: # Could be secret but not necessarily
description: 'Storage accounts'
required: true
containerName: # Could be secret but not necessarily
description: 'Container Name'
required: true
fileTypesToUpload: # We may not want to upload all files
description: 'Our static content extensions to Content-Type may be limited for you, use this if you want to extend'
required: true
default: '{ ".html": "text/html", ".pdf": "application/pdf", ".png": "image/png", ".jpg": "image/jpeg", ".svg": "image/svg+xml", ".css": "text/css", ".js": "application/x-javascript" }'
directoriesToUpload: # List of directories to upload
description: 'List of directories to upload, relative paths only'
required: true
runs:
using: 'node20'
main: 'dist/index.js'