Anurag Thakur pushed to branch master at FreeType / Freetype Website
Commits:
-
7c07827f
by Anurag Thakur at 2021-10-21T15:56:51+00:00
1 changed file:
Changes:
1 |
+# This file is a template, and might need editing before it works on your project.
|
|
2 |
+# To contribute improvements to CI/CD templates, please follow the Development guide at:
|
|
3 |
+# https://docs.gitlab.com/ee/development/cicd/templates.html
|
|
4 |
+# This specific template is located at:
|
|
5 |
+# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Pages/HTML.gitlab-ci.yml
|
|
1 | 6 |
|
2 |
- |
|
3 |
-image: registry.gitlab.com/pages/hugo:latest
|
|
4 |
- |
|
5 |
-variables:
|
|
6 |
- GIT_SUBMODULE_STRATEGY: recursive
|
|
7 |
- |
|
7 |
+# Full project: https://gitlab.com/pages/plain-html
|
|
8 | 8 |
pages:
|
9 |
+ stage: deploy
|
|
9 | 10 |
script:
|
10 |
- - hugo
|
|
11 |
- - mkdir .public
|
|
12 |
- - cp -r * .public
|
|
13 |
- - mv .public public
|
|
14 |
- |
|
11 |
+ - mkdir .public
|
|
12 |
+ - cp -r * .public
|
|
13 |
+ - mv .public public
|
|
15 | 14 |
artifacts:
|
16 | 15 |
paths:
|
17 |
- - public
|
|
18 |
- only:
|
|
19 |
- - master
|
|
\ No newline at end of file | ||
16 |
+ - public
|
|
17 |
+ rules:
|
|
18 |
+ - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|