add ci/cd for gitlab
This commit is contained in:
parent
65e45d60f0
commit
90ba1030fb
16
gitlab-ci.yml
Normal file
16
gitlab-ci.yml
Normal file
@ -0,0 +1,16 @@
|
||||
pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- mkdir .public
|
||||
- cp index.html .public
|
||||
- cp FavouriteQuotes.json .public
|
||||
- cp app.js .public
|
||||
- cp style.css .public
|
||||
- cp favicon.ico .public
|
||||
- rm -rf public
|
||||
- mv .public public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
Loading…
Reference in New Issue
Block a user