Skip to content

Commit c0f4bc3

Browse files
committed
ci(deploy): initial version
1 parent be62013 commit c0f4bc3

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: 12
15+
- run: npx semantic-release
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: 'Run Azure Functions Action'
19+
uses: Azure/functions-action@v1
20+
id: fa
21+
with:
22+
app-name: "probot-example"
23+
package: "."
24+
# probot/example-azure-function credentials provided by @bcoe
25+
publish-profile: ${{ secrets.AZURE_FUNCTION_APP_PUBLISH_PROFILE }}

0 commit comments

Comments
 (0)