Created
June 17, 2021 14:26
-
-
Save kellobri/2423237275d535dfb7330b00b9ec0c6e to your computer and use it in GitHub Desktop.
RStudio Connect Deployment Pipeline Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment