Browse Source

Simple deploy script

Abhas Abhinav 2 months ago
parent
commit
a937e257a6
2 changed files with 2 additions and 28 deletions
  1. 0
    28
      .gitlab-ci.yml
  2. 2
    0
      deploy.sh

+ 0
- 28
.gitlab-ci.yml View File

@@ -1,28 +0,0 @@
1
-image: ruby:2.3
2
-
3
-variables:
4
-  JEKYLL_ENV: production
5
-  LC_ALL: C.UTF-8
6
-
7
-before_script:
8
-  - bundle install
9
-
10
-test:
11
-  stage: test
12
-  script:
13
-  - bundle exec jekyll build -d test
14
-  artifacts:
15
-    paths:
16
-    - test
17
-  except:
18
-  - master
19
-
20
-pages:
21
-  stage: deploy
22
-  script:
23
-  - bundle exec jekyll build -d public
24
-  artifacts:
25
-    paths:
26
-    - public
27
-  only:
28
-  - master

+ 2
- 0
deploy.sh View File

@@ -0,0 +1,2 @@
1
+jekyll build
2
+rsync -apv _site/* root@rms-tour.gnu.org.in:/home/rms-tour.gnu.org.in

Loading…
Cancel
Save