1
0
Fork 0
mirror of https://github.com/uhIgnacio/igna.rocks.git synced 2024-08-15 02:23:12 +00:00

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