Browse Source

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

winniehell 8 years ago
parent
commit
86c71e1015
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

@@ -1,11 +1,9 @@
 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

@@ -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