Update .gitlab-ci.yml file
This commit is contained in:
parent
0609db4517
commit
16cf0111c9
1 changed files with 22 additions and 2 deletions
|
@ -1,2 +1,22 @@
|
||||||
# The Docker image that will be used to build your app
|
deploy:
|
||||||
image: nginx
|
stage: deploy
|
||||||
|
image: alpine:latest
|
||||||
|
script:
|
||||||
|
- mkdir .public
|
||||||
|
- cp -r * .public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- .public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
pages:
|
||||||
|
stage: deploy
|
||||||
|
image: alpine:latest
|
||||||
|
script:
|
||||||
|
- mv .public public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
Loading…
Add table
Add a link
Reference in a new issue