-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
36 lines (36 loc) · 1.31 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
29
30
31
32
33
34
35
36
name: Deploy to Azure Storage
description: Deploys a static website to an Azure Storage account.
author: TravisSpomer
inputs:
source-path:
description: 'The location of your built site files. (For example, "out".)'
required: true
sas-url:
description: 'A SAS URL for your storage account. (You should store this in a Secret.)'
required: true
cleanup:
description: 'Whether or not old versions of files should be deleted.'
required: false
default: true
container:
description: 'The name of the storage container to use. Defaults to $web.'
required: false
default: '$web'
require-index:
description: 'If true, the action will require index.html to be present in source-path, to help you make sure that you are supplying the right path. Defaults to true.'
required: false
default: true
immutable:
description: 'An optional list of extensions that should be uploaded with cache control settings indicating that the file is immutable, in the format "*.js;*.css".'
required: false
default: ''
cleanup-immutable:
description: 'Normally immutable files are ignored by cleanup. If this is set to true, those will get cleaned up too.'
required: false
default: false
runs:
using: 'node16'
main: 'index.js'
branding:
icon: upload-cloud
color: gray-dark