image: mono:latest stages: - build - publish build: stage: build script: - nuget restore QCQuickStart.sln - xbuild /t:Build /p:Configuration="Release" /p:Platform="Any CPU" QCQuickStart.sln artifacts: paths: - QCQuickStart/bin/Release/QCQuickStart.exe pages: stage: publish only: - master dependencies: - build environment: name: gitlab-pages url: http://empires_public.docs.empiresmod.com/QCQuickStart/ artifacts: paths: - public script: - apt-get update - apt-get --yes install markdown - mkdir public - cp QCQuickStart/bin/Release/QCQuickStart.exe public - markdown README.md > public/index.html