Skip to content

Commit b9b2caf

Browse files
brunoborgesdantelmomsft
authored andcommitted
Push to prod only when a new tag is made
1 parent d62ec6f commit b9b2caf

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/app-ci.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
2-
# More GitHub Actions for Azure: https://github.com/Azure/actions
3-
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions
4-
5-
name: App Continuous Integration pipeline
1+
name: Deploy to Production (Azure)
62

73
on:
84
push:
9-
branches:
10-
- app-ci-github-actions
11-
- main
12-
pull_request:
13-
branches: [ main ]
5+
# Pattern matched against refs/tags
6+
tags:
7+
- '*' # Push events to every tag not containing /
148
workflow_dispatch:
159

1610
jobs:

0 commit comments

Comments
 (0)