Skip to content

Instantly share code, notes, and snippets.

@iAmBipinPaul
Last active July 26, 2018 18:12
Show Gist options
  • Save iAmBipinPaul/5c19c89f978266eb9f50314fb16d94ea to your computer and use it in GitHub Desktop.
Save iAmBipinPaul/5c19c89f978266eb9f50314fb16d94ea to your computer and use it in GitHub Desktop.
GitLab build file
image: microsoft/dotnet:2.1.302-sdk
before_script:
- dotnet restore
pages:
stage: deploy
script:
- mkdir public
- dotnet publish -c Release -o output
- cp -a ./Blazor.CICD/output/Blazor.CICD/dist/* ./public
artifacts:
paths:
- public
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment