Merge branch 'simplify-gitlab-ci.yml' into 'master'

Move index.html to simplify .gitlab-ci.yml

## What does this MR do?

- move `index.html` to public folder
- simplify `.gitlab-ci.yml`

## Are there points in the code the reviewer needs to double check?

Not really...

## Why was this MR needed?

Every build moves the `index.html` to the public folder—which is unnecessary if it can be there from the beginning.

## What are the relevant issue numbers?

None.


See merge request !10
This commit is contained in:
Achilleas Pipinellis 2016-07-12 18:12:42 +00:00
commit abe84c7b03
3 changed files with 3 additions and 7 deletions

View File

@ -3,11 +3,9 @@ image: alpine:latest
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
- echo 'Nothing to do...'
artifacts:
paths:
- public
only:
- master
- master

View File

@ -29,9 +29,7 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
- echo 'Nothing to do...'
artifacts:
paths:
- public