kind: pipeline name: default clone: skip_verify: true volumes: - name: output host: path: /var/www/Website steps: - name: build and publish image: mcr.microsoft.com/dotnet/core/sdk:2.2 volumes: - name: output path: /output environment: ConnectionString: from_secret: ConnectionString commands: - curl -sL https://deb.nodesource.com/setup_12.x | bash - - apt-get install -y nodejs - chmod +x ./build.sh - ./build.sh - sed -i 's//${ConnectionString}/g' appsettings.json - cp -r ./output/* /output