Upload gitlab-ci.yml
Browse files- gitlab-ci.yml +14 -0
gitlab-ci.yml
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file is a template, and might need editing before it works on your project.
|
2 |
+
# Full project: https://gitlab.com/pages/plain-html
|
3 |
+
|
4 |
+
image: busybox
|
5 |
+
|
6 |
+
pages:
|
7 |
+
stage: deploy
|
8 |
+
script:
|
9 |
+
- echo "The site will be deployed to $CI_PAGES_URL"
|
10 |
+
artifacts:
|
11 |
+
paths:
|
12 |
+
- public
|
13 |
+
rules:
|
14 |
+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|