# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml

trigger:
- main

pool:
  vmImage: ubuntu-latest

steps:
- task: FtpUpload@2
  displayName: "Publish documentation to 'docs.twd.nl/assets'"
  inputs:
    credentialsOption: 'inputs'
    serverUrl: "ftp://n0rfkyr.lb.shared.prod.hostnet.nl/docs.twd.nl/"
    username: "p539141"
    password: "YWOty3iU7#h8"
    rootDirectory: '$(System.DefaultWorkingDirectory)'
    filePatterns: '**'
    remoteDirectory: '/docs.twd.nl/assets/'
    clean: true
    preservePaths: true