Browse Source

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
develop
Achilleas Pipinellis 7 years ago
parent
commit
abe84c7b03
3 changed files with 3 additions and 7 deletions
  1. +2
    -4
      .gitlab-ci.yml
  2. +1
    -3
      README.md
  3. +0
    -0
      public/index.html

+ 2
- 4
.gitlab-ci.yml 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

+ 1
- 3
README.md 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


index.html → public/index.html View File


Loading…
Cancel
Save