Skip to content

Commit

Permalink
Netlify CLI deploy...
Browse files Browse the repository at this point in the history
  • Loading branch information
sebavan committed Jan 13, 2020
1 parent 7665b41 commit 1df0ffe
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions azure-pipelines-cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
trigger:
- preview

jobs:
- job: Netlify Static Deploy
displayName: 'Deploy'
pool:
vmImage: 'Ubuntu-16.04'
demands: npm
steps:
- script: 'npm install netlify'
displayName: 'npm install netlify'
- script: 'netlify link --id=220a52f0-ea85-4244-8342-8ec149cd78d6'
displayName: 'netlify link babylonjscontrollers'
env:
AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)
- script: 'netlify deploy --prod --dir=assets/meshes/controllers'
displayName: 'netlify link babylonjscontrollers'
env:
AZURE_PULLREQUESTID: $(System.PullRequest.PullRequestId)
NETLIFY_AUTH_TOKEN: $(babylon.netlify.authToken)

0 comments on commit 1df0ffe

Please sign in to comment.