~franz/germanwindows.com.my

germanwindows.com.my/.gitlab-ci.yml -rw-r--r-- 540 bytes
36b1fc95 — Franz Geffke replaced 2x images 11 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
image: franzos/ruby-node-gulp-java

cache:
  paths:
  - vendor/

before_script:
- bundle install --path vendor

stages:
- build
- deploy

build:
  stage: build
  script:
  - yarn
  - gulp
  - JEKYLL_ENV=production bundle exec jekyll build -d public/
  artifacts:
    when: on_success
    paths:
    - public
    expire_in: 1h

deploy:
  stage: deploy
  script:
  - export AWS_ACCESS_KEY_ID="$(echo "$AWS_ACCESS_KEY_ID")"
  - export AWS_SECRET_ACCESS_KEY="$(echo "$AWS_SECRET_ACCESS_KEY")"
  - bundle exec s3_website push
  only:
  - master