Skip to content

Commit c6eb55d

Browse files
authored
Create action.yml
1 parent a2ec8fb commit c6eb55d

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

action.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: 'Upload Artifact to Azure Blob'
2+
description: 'Deploys a frontend to Azure Blob and activates the index.html file at last'
3+
author: 'CoreHelpers Project'
4+
branding:
5+
icon: 'upload-cloud'
6+
color: 'purple'
7+
inputs:
8+
connectionstring:
9+
required: true
10+
type: string
11+
container:
12+
required: true
13+
type: string
14+
artifact:
15+
required: true
16+
type: string
17+
18+
runs:
19+
using: "composite"
20+
steps:
21+
- name: Download frontend build
22+
uses: actions/[email protected]
23+
with:
24+
name: ${{ inputs.artifact }}
25+
path: ./build
26+
27+
- name: Activate the frontend
28+
uses: CoreHelpers/[email protected]
29+
with:
30+
connectionstring: ${{ inputs.connectionstring }}
31+
container: ${{ inputs.container }}
32+
source: ./build

0 commit comments

Comments
 (0)