trigger:
- "live"

pr:
- "live"

pool:
  vmImage: "ubuntu-latest"

steps:

- script: "make build-drafts"
  displayName: "Build the site"

- script: "make lint"
  displayName: "Run linting"

- task: DownloadSecureFile@1
  inputs:
    secureFile: id_rsa
  condition: "eq(variables['Build.SourceBranch'], 'refs/heads/live')"
  displayName: "Download SSH key"

- script: ./deploy.sh
  condition: "eq(variables['Build.SourceBranch'], 'refs/heads/live')"
  displayName: "Deploy to Linode and push new commits to GitHub"

trigger:
- "live"

pr:
- "live"

pool:
  vmImage: "ubuntu-latest"

steps:

- script: "make build-drafts"
  displayName: "Build the site"

- script: "make lint"
  displayName: "Run linting"

- task: DownloadSecureFile@1
  inputs:
    secureFile: id_rsa
  condition: "eq(variables['Build.SourceBranch'], 'refs/heads/live')"
  displayName: "Download SSH key"

- script: ./scripts/deploy.sh
  condition: "eq(variables['Build.SourceBranch'], 'refs/heads/live')"
  displayName: "Deploy to Linode and push new commits to GitHub"

Fix the path to this script
Fix the path to this script