Commit abe84c7b by Achilleas Pipinellis

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
parents 0e4cb284 86c71e10
...@@ -3,11 +3,9 @@ image: alpine:latest ...@@ -3,11 +3,9 @@ image: alpine:latest
pages: pages:
stage: deploy stage: deploy
script: script:
- mkdir .public - echo 'Nothing to do...'
- cp -r * .public
- mv .public public
artifacts: artifacts:
paths: paths:
- public - public
only: only:
- master - master
\ No newline at end of file
...@@ -29,9 +29,7 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml): ...@@ -29,9 +29,7 @@ defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
pages: pages:
stage: deploy stage: deploy
script: script:
- mkdir .public - echo 'Nothing to do...'
- cp -r * .public
- mv .public public
artifacts: artifacts:
paths: paths:
- public - public
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment