-
Notifications
You must be signed in to change notification settings - Fork 2
/
azure-pipelines.yml
45 lines (41 loc) · 942 Bytes
/
azure-pipelines.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
37
38
39
40
41
42
43
44
45
#
# RStudio Connect Deployment Pipeline Template
# Includes optional steps
#
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
variables:
- group: 'RStudio Connect Vars'
- name: CONTENT_DIRECTORY
value: content-dir
- name: VANITY_NAME
value: azure-devops-template
- name: UNIQ_NAME
value: unique-name-example
steps:
- task: Bash@3
displayName: 'Create Upload Deploy'
inputs:
filePath: 'create-upload-deploy.sh'
env:
CONNECT_API_KEY: $(CONNECT_API_KEY)
- task: Bash@3
displayName: 'Update RunAs User'
inputs:
filePath: 'optional-steps/runas-user.sh'
env:
CONNECT_API_KEY: $(CONNECT_API_KEY)
- task: Bash@3
displayName: 'Set Vanity URL'
inputs:
filePath: 'optional-steps/set-vanity-url.sh'
env:
CONNECT_API_KEY: $(CONNECT_API_KEY)
- task: Bash@3
displayName: 'Update Access Control List'
inputs:
filePath: 'optional-steps/update-acl.sh'
env:
CONNECT_API_KEY: $(CONNECT_API_KEY)