Add .gitlab-ci.yml
This commit is contained in:
parent
a40cb94588
commit
67be634f0a
|
@ -0,0 +1,16 @@
|
|||
image: mcr.microsoft.com/dotnet/core/sdk
|
||||
|
||||
before_script:
|
||||
- dotnet restore
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mkdir public
|
||||
- dotnet publish -c Release -o build
|
||||
- cp -a ./build/WebHax/dist/* ./public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
Reference in New Issue