20
20
displayName : ' Test'
21
21
- script : ./helpers/update-site.sh
22
22
displayName : ' Deploy'
23
- # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
23
+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
24
24
env :
25
25
GIT_USER_EMAIL : $(GIT_USER_EMAIL)
26
26
GIT_USER_NAME : $(GIT_USER_NAME)
@@ -30,10 +30,10 @@ jobs:
30
30
BRANCH : variables['Build.SourceBranch']
31
31
- script : npm run test-staging && node helpers/integration-tests/index.js
32
32
displayName : ' Analyze staging with webhint'
33
- # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
33
+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
34
34
- task : AzureAppServiceManage@0
35
35
displayName : ' Swap into production'
36
- # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
36
+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
37
37
inputs :
38
38
azureSubscription : ' webhint-web'
39
39
Action : ' Swap Slots'
44
44
curl https://www.google.com/ping?sitemap=https://webhint.io/sitemap.xml
45
45
curl https://www.bing.com/ping?sitemap=https://webhint.io/sitemap.xml
46
46
displayName: 'Update sitemaps'
47
- # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
47
+ condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
48
48
49
49
- job : ' Algolia'
50
50
pool :
0 commit comments